37 lines
648 B
Makefile
37 lines
648 B
Makefile
.PHONY: test
|
|
test:
|
|
poetry run pytest -x src/jinjax tests
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
poetry run ruff check src/jinjax tests
|
|
|
|
.PHONY: coverage
|
|
coverage:
|
|
poetry run pytest --cov-config=pyproject.toml --cov-report html --cov jinjax src/jinjax tests
|
|
|
|
.PHONY: types
|
|
types:
|
|
poetry run pyright src/jinjax
|
|
|
|
.PHONY: install
|
|
install:
|
|
poetry install --with dev,test
|
|
poetry run pre-commit install
|
|
|
|
.PHONY: install.docs
|
|
install.docs:
|
|
pip install -e ../jinjax-ui/
|
|
pip install -e ../claydocs/
|
|
|
|
.PHONY: docs
|
|
docs:
|
|
cd docs && python docs.py
|
|
|
|
.PHONY: docs.build
|
|
docs.build:
|
|
cd docs && python docs.py build
|
|
|
|
.PHONY: docs.deploy
|
|
docs.deploy:
|
|
cd docs && ./deploy.sh
|