]> apps.delaporte.us Git - matrix-shop-bot.git/blob - Makefile
Add rename commands
[matrix-shop-bot.git] / Makefile
1 .PHONY: serve test strict
2
3 MODULE=matrix-shop-bot
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-shop-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