20 lines
337 B
Makefile
20 lines
337 B
Makefile
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
|