-.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