diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..139a760 --- /dev/null +++ b/Makefile @@ -0,0 +1,37 @@ +.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 |