diff --git a/Makefile b/Makefile index 4b34086..cc6b193 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,23 @@ CLEUSB=Cle8G COMMON_EXCLUDE=--exclude "__pycache__" --exclude "venv/" --exclude ".git" --exclude ".gitignore" --exclude ".*" +VENV="enseignements" + install: git config core.hooksPath ./tools/git/hooks/ - python -m venv ~/.venv/enseignements/ + python -m venv ~/.venv/$(VENV) ( \ - . ~/.venv/enseignements/bin/activate;\ + . ~/.venv/$(VENV)/bin/activate;\ pip install -r requirements.txt;\ ) +update: + ( \ + . ~/.venv/$(VENV)/bin/activate;\ + pip install --ignore-installed -r requirements.txt + ) + + clean: git clean -idx -e venv/ -e video/