]> apps.delaporte.us Git - matrix-goal-bot.git/blob - Makefile
Logging during invoke
[matrix-goal-bot.git] / Makefile
1 .PHONY: serve tail test strict
2
3 MODULE=goals
4
5 .venv:
6 python -m venv .venv
7 .venv/bin/pip install .
8
9 serve: .venv
10 .venv/bin/python app.py
11
12 clean:
13 rm -rf .venv
14 rm session.txt # Reset session
15
16 tail:
17 tail -f matrix-goal-bot.log
18
19 test: .venv
20 .venv/bin/pip install .[test]
21 .venv/bin/mypy -m $(MODULE)
22
23 strict: .venv
24 .venv/bin/mypy --strict -m $(MODULE)
25