From 6a88756e842719abc76a4ec3dec117c96a6f9fd0 Mon Sep 17 00:00:00 2001 From: Oscar Plaisant Date: Thu, 27 Jun 2024 17:21:33 +0200 Subject: [PATCH] add target to execute project and to update requirements if needed. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a4055b4..b93f9d5 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,15 @@ DATABASE_FILE=${DATABASE_FOLDER}/${DATABASE_NAME}.db all: execute-script -execute-script: - python3 concentration_test.py +execute-script: requirements.txt + source bin/activate; \ + python3 src/concentration_test.py; \ -pip-install: +requirements.txt: bin/pip3 install -r requirements.txt +# run o + reset: delete-database import-from-csv open: