clean up for refined release
This commit is contained in:
parent
fe3729eef7
commit
eeeb121535
39
Makefile
39
Makefile
@ -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/*
|
|
||||||
## ------------------------------------------ ##
|
|
Loading…
Reference in New Issue
Block a user