summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 139a76088a8d6e0ca737e5ce2dc76c73125e6da4 (plain)
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
33
34
35
36
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