-
Notifications
You must be signed in to change notification settings - Fork 51
/
shadow-cljs.edn
16 lines (15 loc) · 1.34 KB
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;; All namespaces are tested by default to encourage tested code.
;; Use :ns-regexp to blacklist specific namespaces.
;; ^(?!foo.(bar|baz)).* : includes everything except foo.bar or foo.baz
{:builds {:test {:target :node-test
:output-to "out/node-tests.js"
:ns-regexp "^(?!contrib.(electric-codemirror|datomic)|hyperfiddle.(api|popover|spool|spec|electric-fulcro|electric.impl.compiler-test|electric.impl.cljs-file-to-analyze)).*"
:build-options {:cache-level :off}
:compiler-options {:reader-features #{:node} ; allow #?(:node …, :cljs …), falls back to :cljs.
:warnings {:redef-in-file false}}}
:browser-test {:target :karma
:output-to "out/karma-tests.js"
:ns-regexp "^(?!contrib.(electric-codemirror|datomic)|hyperfiddle.(api|popover|spool|spec|electric-fulcro|electric.impl.compiler-test|electric.impl.cljs-file-to-analyze)).*"
:build-options {:cache-level :off}
:build-hooks [(hyperfiddle.browser-test-setup/blow-up-tests-on-warnings)]
:compiler-options {:warnings-as-errors {:warning-types #{:infer-warning}}}}}}