X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-goal-bot.git/blobdiff_plain/3d206e0b351bdbab6c5f93031208787ce840e11a..303394a7dcea600b7f4e9db20a7056c8433eef75:/Makefile diff --git a/Makefile b/Makefile index d37a4ee..2eb2952 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,25 @@ -.PHONY: serve freeze +.PHONY: serve tail 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 +tail: + tail -f matrix-goal-bot.log + 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)