Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeff committed Mar 8, 2018
1 parent abcd505 commit 9a45f37
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9a45f37

Please sign in to comment.