X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-cadbury.git/blobdiff_plain/8e26c2e4dc2b0a413a3fb8d8ad06a320107a07cd..c730bcd5bc9eadebb8e670d73e24809e51dcd4f8:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 37762b6..c8ad3f8 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,20 @@ -.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 goals.setup + .venv/bin/invoke chores.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 --user restart cadbury