-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 667 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (19 loc) · 667 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
.PHONY: setup lint test coverage docs docs-serve help
.DEFAULT_GOAL := help
help: ## Show this help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
setup: ## Install dev dependencies and git hooks
uv sync --dev
npm ci
uv run prek install
lint: ## Run all pre-commit hooks
uv run prek run --all-files
test: ## Run tests
uv run pytest
coverage: ## Run tests with coverage report
uv run pytest --cov=src/bsblan --cov-report=term-missing
docs: ## Build documentation
uv run mkdocs build --strict
docs-serve: ## Serve documentation locally
uv run mkdocs serve