Skip to content

Commit

Permalink
eval all cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Nov 11, 2024
1 parent d946f28 commit 25731cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions demo/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}}}
6 changes: 3 additions & 3 deletions reval/src/reval/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 25731cd

Please sign in to comment.