-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 776 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (22 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.DEFAULT_GOAL:=help
help: ## List available commands
@grep '^[^#[:space:]].*:' Makefile | sort
install: ## Install project and test dependencies
@uv sync --extra tests
freeze: ## Show installed dependencies
@uv pip freeze
format: ## Format code with Ruff
@uv run ruff format .
lint: ## Lint code with Ruff
@uv run ruff check .
run: ## Fetch and convert the latest CESSDA vocabularies
@uv run python main.py
package: ## Build source and wheel distributions
@rm -rf dist
@uvx --from build pyproject-build
package-check: ## Validate built distributions with Twine
@uvx --from twine twine check dist/*
clean: ## Remove build artifacts
@rm -rf dist build .pytest_cache *.egg-info
test: ## Run packaging checks, linters, and pytest suite
@uv run ./run-tests.sh