wheel: frontend docs
	poetry build

frontend:
	npm -C frontend run build

docs:
	rm -rf src/hircine/static/help
	poetry run sphinx-build -Wb html -j auto -d .doctrees/ docs/ src/hircine/static/help

test:
	poetry run pytest -qs -W ignore::DeprecationWarning

coverage:
	poetry run pytest -s --cov=hircine --cov-report=html

.PHONY: wheel frontend docs test