co3/Makefile

22 lines
492 B
Makefile
Raw Normal View History

2024-03-29 06:11:30 +00:00
PYTHON=/home/smgr/.pyenv/versions/co4/bin/python
BASH=/usr/bin/bash
## ------------------ docs ------------------ ##
docs-build:
sphinx-apidoc --module-first --separate -o docs/_autoref/ co3
2024-03-29 06:11:30 +00:00
make -C docs/ html
docs-serve:
cd docs/_build/html && python -m http.server 9090
docs-clean:
make -C docs/ clean
rm -rf docs/_autoref
rm -rf docs/_autosummary
2024-03-29 06:11:30 +00:00
## ------------------------------------------ ##
## ----------------- tests ------------------ ##
test:
pytest --pyargs tests -v