diff --git a/demo/deps.edn b/demo/deps.edn index c198f5d..e0b05f8 100644 --- a/demo/deps.edn +++ b/demo/deps.edn @@ -39,9 +39,5 @@ :nbeval {:exec-fn modular.system/start! :exec-args {:run demo.task/eval-all - :config ["reval/demo-config.edn"] - :services "reval/task-services.edn"}} - :nblist {:exec-fn modular.system/start! - :exec-args {:run demo.task/print-all-collections :config ["reval/demo-config.edn"] :services "reval/task-services.edn"}}}} diff --git a/reval/src/reval/core.clj b/reval/src/reval/core.clj index c908efb..e275aa2 100644 --- a/reval/src/reval/core.clj +++ b/reval/src/reval/core.clj @@ -56,12 +56,12 @@ nb-welcome)) (defn eval-collections [{:keys [rdocument collections] :as this}] + (info "eval collections.. ") + (nbcol/eval-collections this collections) (info "build collection index for collections: " collections) (spit (str (:fpath rdocument) "/notebooks.edn") (nbcol/collections-ns-summary collections)) (info "generate index notebook.. ") - (save-welcome this) - (info "eval collections.. ") - (nbcol/eval-collections this collections)) + (save-welcome this))