X-Git-Url: https://apps.delaporte.us/gitweb/matrix-goal-bot.git/blobdiff_plain/3d206e0b351bdbab6c5f93031208787ce840e11a..33eb98119c73f926a8cd1c7d169dda07e6d66959:/Makefile?ds=inline diff --git a/Makefile b/Makefile index d37a4ee..a73de66 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 + .venv/bin/python app.py 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)