]> apps.delaporte.us Git - matrix-shop-bot.git/blob - Makefile
WIP skill
[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 .venv-llm:
10 python -m venv .venv
11 .venv/bin/pip install -e ".[llm]"
12
13 serve: .venv
14 .venv/bin/python app.py
15
16 clean:
17 rm -rf .venv
18 rm session.txt # Reset session
19
20 tail:
21 tail -f matrix-shop-bot.log
22
23 test: .venv
24 .venv/bin/pip install .[test]
25 .venv/bin/mypy -m $(MODULE)
26
27 strict: .venv
28 .venv/bin/mypy --strict -m $(MODULE)
29