clean up for refined release

This commit is contained in:
Sam G. 2024-07-05 04:15:06 -07:00
parent fe3729eef7
commit eeeb121535

View File

@ -1,39 +0,0 @@
PYTHON="<python-binary>"
BASH=/usr/bin/bash
UNAME=$(shell uname)
ifeq ($(UNAME), Darwin)
PYTHON=python3
endif
## ------------------ docs ------------------ ##
docs-publish:
scp -r docs/_build/html/* hetz-cloud:/var/www/doc.olog.io/symconf/
docs-serve:
cd docs/_build/html && python -m http.server 9091
docs-build:
sphinx-apidoc --module-first --separate -o docs/_autoref/ symconf
make -C docs/ html
docs-clean:
make -C docs/ clean
rm -rf docs/_autoref
rm -rf docs/_autosummary
## ------------------------------------------ ##
## ----------------- tests ------------------ ##
test:
pytest --pyargs tests -v
## ------------------------------------------ ##
## ----------------- build ------------------ ##
build:
python -m build
publish:
python -m twine upload dist/*
## ------------------------------------------ ##