diff --git a/makefile b/makefile new file mode 100644 index 0000000..3a29a42 --- /dev/null +++ b/makefile @@ -0,0 +1,11 @@ +NB = $(sort $(wildcard *.ipynb)) + +run: $(NB) + +$(NB): + jupyter nbconvert --inplace --execute --ExecutePreprocessor.timeout=-1 $@ + +clean: + jupyter nbconvert --inplace --ClearOutputPreprocessor.enabled=True $(NB) + +.PHONY: run $(NB) clean