X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-cadbury.git/blobdiff_plain/8e26c2e4dc2b0a413a3fb8d8ad06a320107a07cd..26b55eed9c2f9b0b808be4a4ea2b0538c19e59c3:/Makefile diff --git a/Makefile b/Makefile index 37762b6..ad9a132 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,21 @@ -.PHONY: serve test strict +.PHONY: serve update -MODULE=cadbury - -.venv: +.venv: pyproject.toml python -m venv .venv .venv/bin/pip install . serve: .venv - .venv/bin/python bot.py + .venv/bin/python app.py + +setup: + .venv/bin/invoke chores.setup + .venv/bin/invoke fridge.setup + .venv/bin/invoke goals.setup + .venv/bin/invoke shop.setup clean: rm -rf .venv rm -f session.txt # Reset session -test: .venv - .venv/bin/pip install .[test] - .venv/bin/mypy -m $(MODULE) - -strict: .venv - .venv/bin/mypy --strict -m $(MODULE) - +update: clean .venv + systemctl restart cadbury