mirror of https://github.com/gsi-upm/sitc
Makefile updated
parent
ae3c34f94c
commit
9d1b88dfea
@ -1,10 +1,11 @@
|
|||||||
FOLDER:=.
|
FOLDER:=.
|
||||||
|
ERROR:=255
|
||||||
|
|
||||||
exec:
|
exec:
|
||||||
find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'jupyter nbconvert --execute --ClearOutputPreprocessor.enabled=True --inplace $$0 || exit 255'
|
find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'jupyter nbconvert --execute --ClearOutputPreprocessor.enabled=True --inplace $$0 || exit $(ERROR)'
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace $$0 || exit 255'
|
find $(FOLDER) -iname '*.ipynb' -print0 | xargs -n 1 -0 sh -c 'nbstripout $$0 || exit $(ERROR)'
|
||||||
|
|
||||||
|
|
||||||
.PHONY: exec clean
|
.PHONY: exec clean
|
||||||
|
Loading…
Reference in New Issue