From cf65ffaf20d9838852951d59880185c33cfd4557 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 31 Aug 2022 13:45:37 +0200 Subject: [PATCH] cljs.pprint (#39) --- bb.edn | 3 ++- deps.edn | 6 ++++-- resources/public/index.html | 15 +++++++++++++++ shadow-cljs.edn | 2 ++ src/scittle/core.cljs | 15 +++++++++------ src/scittle/pprint.cljs | 8 ++++++++ src/scittle/promesa.cljs | 5 +++-- 7 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 src/scittle/pprint.cljs diff --git a/bb.edn b/bb.edn index 9a89e71..6432ee4 100644 --- a/bb.edn +++ b/bb.edn @@ -15,7 +15,8 @@ (fs/delete-tree ".shadow-cljs"))} shadow:watch {:doc "Development build. Starts webserver and watches for changes." - :task (clojure "-M:dev -m shadow.cljs.devtools.cli watch main")} + :task (clojure {:extra-env {"SCI_ELIDE_VARS" "true"}} + "-M:dev -m shadow.cljs.devtools.cli watch main")} http-server {:doc "Starts http server for serving static files" :requires ([babashka.http-server :as http]) diff --git a/deps.edn b/deps.edn index 8adef32..29b133c 100644 --- a/deps.edn +++ b/deps.edn @@ -2,7 +2,9 @@ :deps {org.clojure/clojure {:mvn/version "1.10.3"} - org.babashka/sci {:mvn/version "0.3.5"} + org.babashka/sci {:git/url "https://github.com/babashka/sci" + :git/sha "133a7565749ac6cd5a8308182f0b1c7fc47e8a3d"} + #_{:local/root "../babashka/sci"} reagent/reagent {:mvn/version "1.1.0"} cljsjs/react {:mvn/version "17.0.2-0"} cljsjs/react-dom {:mvn/version "17.0.2-0"} @@ -14,7 +16,7 @@ #_{:local/root "../sci.nrepl"} {:git/sha "e83421ce9349c36df56a2eb936196dbb65b0de63"} io.github.babashka/sci.configs - {:git/sha "fcd367c6a6115c5c4e41f3a08ee5a8d5b3387a18"}} + {:git/sha "63225c8606d593c595d2f10a6fa5bf38103852df"}} :aliases {:dev diff --git a/resources/public/index.html b/resources/public/index.html index e1356ad..3214605 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -7,6 +7,8 @@ + +