artemis/Makefile
2024-04-27 12:36:28 +02:00

22 lines
285 B
Makefile

ENV=env
BIN=$(ENV)/bin
PYTHON=$(BIN)/python
PIP=$(BIN)/pip
.PHONY: venv install dev watch clean
venv:
python3 -m venv env
install:
$(PIP) install -Ur requirements.txt
dev:
$(PYTHON) -m artemis.bot
watch:
pnpx nodemon -e py,toml -x $(PYTHON) -m artemis.bot
clean:
rm -rf env