summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..73b7aae
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+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