summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Müller2024-03-05 18:08:09 +0100
committerWolfgang Müller2024-03-05 19:25:59 +0100
commitd1d654ebac2d51e3841675faeb56480e440f622f (patch)
tree56ef123c1a15a10dfd90836e4038e27efde950c6 /Makefile
downloadhircine-0.1.0.tar.gz
Initial commit0.1.0
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