mirror of
https://github.com/gsi-upm/sitc
synced 2024-12-22 03:38:13 +00:00
12 lines
317 B
Makefile
12 lines
317 B
Makefile
FOLDER:=.
|
|
ERROR:=255
|
|
|
|
exec:
|
|
find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'jupyter nbconvert --execute --ClearOutputPreprocessor.enabled=True --inplace $$0 || exit $(ERROR)'
|
|
|
|
clean:
|
|
find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'nbstripout $$0 || exit $(ERROR)'
|
|
|
|
|
|
.PHONY: exec clean
|