Skip to content

Commit 0d9f8e6

Browse files
committed
Add lein build-report alias and associated shadow-cljs build id
1 parent 2959195 commit 0d9f8e6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

project.clj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@
4040

4141
:shadow-cljs {:nrepl {:port 8777}
4242

43-
:builds {:browser-test
43+
:builds {:build-report
44+
{:target :browser
45+
:compiler-options {:language-in :es6
46+
:language-out :es6}
47+
:release {:modules {:http-fx {:entries [day8.re-frame.http-fx]}}}}
48+
49+
:browser-test
4450
{:target :browser-test
4551
:ns-regexp "day8.*-test$"
4652
:test-dir "run/resources/compiled_test"
@@ -56,6 +62,10 @@
5662
["clean"]
5763
["shadow" "watch" "browser-test" "karma-test"]]
5864

65+
"build-report" ["do"
66+
["clean"]
67+
["shadow" "run" "shadow.cljs.build-report" "build-report" "target/build-report.html"]]
68+
5969
"ci" ["do"
6070
["clean"]
6171
["shadow" "compile" "karma-test"]

0 commit comments

Comments
 (0)