| 1 |
.PHONY: install |
| 2 |
install: |
| 3 |
uv sync --group dev --group test |
| 4 |
uv pip install -e . |
| 5 |
uv run pre-commit install |
| 6 |
|
| 7 |
.PHONY: test |
| 8 |
test: |
| 9 |
uv run pytest -x src/jinjax tests |
| 10 |
|
| 11 |
.PHONY: lint |
| 12 |
lint: |
| 13 |
uv run ruff check src/jinjax tests |
| 14 |
|
| 15 |
.PHONY: coverage |
| 16 |
coverage: |
| 17 |
uv run pytest --cov-config=pyproject.toml --cov-report html --cov jinjax src/jinjax tests |
| 18 |
|
| 19 |
.PHONY: types |
| 20 |
types: |
| 21 |
uv run ty check src/jinjax |
| 22 |
|
| 23 |
.PHONY: docs |
| 24 |
docs: |
| 25 |
cd docs && uv run python docs.py |
| 26 |
|
| 27 |
.PHONY: docs-build |
| 28 |
docs-build: |
| 29 |
cd docs && uv run python docs.py build |
| 30 |
|
| 31 |
.PHONY: docs-deploy |
| 32 |
docs-deploy: |
| 33 |
cd docs && uv run sh deploy.sh |