diff --git a/.gitignore b/.gitignore index 371aff1..3f8f601 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,6 @@ pom.xml* .idea/ *.iml /wiki/.git +.shadow-cljs/ +public/js/ +out/ \ No newline at end of file diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..f3b5fb7 --- /dev/null +++ b/public/index.html @@ -0,0 +1,12 @@ + + + + + Telemere/shadow-cljs + + + +

shadow-cljs dev HTTP server

+

For: taoensso.telemere

+ + diff --git a/shadow-cljs.edn b/shadow-cljs.edn new file mode 100644 index 0000000..4f86e85 --- /dev/null +++ b/shadow-cljs.edn @@ -0,0 +1,25 @@ +{;;:lein true + :source-paths ["src" "test"] + :dependencies + [[com.taoensso/encore "3.98.0-SNAPSHOT"] + [cider/cider-nrepl "0.47.0"] + [binaryage/devtools "1.0.7"]] + + :nrepl + {:port 7887 + :middleware + [cider.nrepl/cider-middleware]} + + :dev-http {8090 {:root "public"}} + :builds + {:main + {:target :browser + :output-dir "public/js" + :modules {:main {:entries [taoensso.telemere]}} + :preloads [devtools.preload]} + + :tests + {:target :node-test + :output-to "target/tests.js" + :ns-regexp "-tests$" + :autorun true}}} diff --git a/shadow-cljs.sh b/shadow-cljs.sh new file mode 100755 index 0000000..48041d3 --- /dev/null +++ b/shadow-cljs.sh @@ -0,0 +1,2 @@ +#!/bin/bash +npx shadow-cljs watch main