X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/3d206e0b351bdbab6c5f93031208787ce840e11a..728f8948c8b912423992b41af644e097a57ebd88:/Makefile diff --git a/Makefile b/Makefile index d37a4ee..42608b6 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,22 @@ -.PHONY: serve freeze +.PHONY: serve test strict + +MODULE=goals .venv: - uv sync + python -m venv .venv + .venv/bin/pip install . serve: .venv .venv/bin/python bot.py -freeze: - uv pip freeze - clean: rm -rf .venv rm session.txt # Reset session test: .venv - .venv/bin/mypy -m chore + .venv/bin/pip install .[test] + .venv/bin/mypy -m $(MODULE) strict: .venv - .venv/bin/mypy --strict -m chore + .venv/bin/mypy --strict -m $(MODULE)