Feat: Début de l'année!

This commit is contained in:
2020-08-07 18:04:18 +02:00
commit 5f9b7f4085
13 changed files with 979 additions and 0 deletions

22
Makefile Normal file
View File

@@ -0,0 +1,22 @@
CLEUSB=Cle8G
COMMON_EXCLUDE=--exclude "__pycache__" --exclude "venv/" --exclude ".git" --exclude ".gitignore" --exclude ".*"
install:
git config core.hooksPath ./tools/git/hooks/
python -m venv ~/.venv/enseignements/
source ~/.venv/enseignements/bin/activate.fish
pip install -r requirements.txt
clean:
git clean -idx -e venv/ -e video/
rsync_cleUSB: clean
#rsync --progress --modify-window=1 --update --recursive --times --del ./ $(GIT_EXCLUDE) /run/media/lafrite/K1
rsync -av --del --exclude "venv" ./ $(COMMON_EXCLUDE) /run/media/lafrite/$(CLEUSB)/Enseignements
rsync -av ../../Divers/ /run/media/lafrite/$(CLEUSB)/Divers
rsync -av ../../Production\ eleves/ /run/media/lafrite/$(CLEUSB)/Productions/
# rsync -av /run/media/lafrite/$(CLEUSB)/Productions/$(YEAR) ../../Production\ eleves/
.PHONY: