28 lines
427 B
Makefile
28 lines
427 B
Makefile
clean:
|
|
pipenv --rm
|
|
|
|
install:
|
|
pipenv install
|
|
|
|
install_dev:
|
|
pipenv install --dev
|
|
make requirements
|
|
|
|
run_dev:
|
|
pipenv run python dev.py
|
|
|
|
tdd:
|
|
git ls-files | entr pipenv run pytest --lf --nf
|
|
|
|
test:
|
|
pipenv run pytest $(opt)
|
|
|
|
requirements:
|
|
pipenv requirements > requirements.txt
|
|
pipenv requirements --dev-only > requirements_dev.txt
|
|
|
|
docs:
|
|
cd docs/ && make html
|
|
cd docs && firefox ./_build/html/index.html &
|
|
.PHONY: docs
|