Compare commits

...

2 Commits

Author SHA1 Message Date
cda12028c1
make Makefile
Every project should have a Makefile ;)
2024-06-10 20:23:57 +02:00
7ea0a7ddb7
fix typo 2024-06-10 20:23:08 +02:00
2 changed files with 19 additions and 0 deletions

19
Makefile Normal file
View File

@ -0,0 +1,19 @@
VENV = venv
PYTHON = $(VENV)/bin/python3
PIP = $(VENV)/bin/pip
run: $(VENV)/bin/activate
$(PYTHON) init_db.py
$(PYTHON) run.py
$(VENV)/bin/activate: requirements.txt
python3 -m venv $(VENV)
$(PIP) install -r requirements.txt
clean:
rm -rf __pycache__
rm -rf $(VENV)
rm -r taskmanager/__pycache__/
rm instance/taskmanager.db