mirror of
https://github.com/gsi-upm/sitc
synced 2024-11-05 07:31:41 +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
|