build: clear jupyter notebook outputs on clean task

- Clear jupyter notebook output on clean target
- Clear jupyter notebook run counter on clean target
- Fix: Deletion of lib/ if lib/ does not exist
This commit is contained in:
Laborratte5 2024-05-04 20:56:49 +02:00
parent 53d8884101
commit e5c6ff32f2
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02

View file

@ -82,8 +82,9 @@ clean:
rm -f src/*.pyc
rm -f src/*.mpy
rm -f $(JUPYTER_PYTHON_FILES)
rm -r lib/
rm -rf lib/
rm -f requirements.txt
$(VENV) jupyter nbconvert --clear-output --inplace src/*.ipynb
env:
poetry install