2016-04-14 13:39:50 -05:00
|
|
|
(require '[cljs.build.api :as b])
|
2015-06-18 12:35:50 -05:00
|
|
|
|
2017-03-01 14:08:26 -05:00
|
|
|
(def options
|
2016-06-21 11:31:35 -05:00
|
|
|
{:main 'uxbox.tests.main
|
2016-01-12 09:54:31 -05:00
|
|
|
:parallel-build false
|
2016-06-21 11:31:35 -05:00
|
|
|
:output-to "out/tests.js"
|
2017-03-01 14:08:26 -05:00
|
|
|
:source-map true
|
2016-06-21 11:31:35 -05:00
|
|
|
:output-dir "out/tests"
|
2017-03-01 14:08:26 -05:00
|
|
|
:optimizations :none
|
2016-06-21 11:31:35 -05:00
|
|
|
:static-fns true
|
2015-06-18 12:35:50 -05:00
|
|
|
:pretty-print true
|
2016-02-02 14:33:32 -05:00
|
|
|
:target :nodejs
|
2016-04-16 03:11:28 -05:00
|
|
|
:language-in :ecmascript6
|
2015-06-18 12:35:50 -05:00
|
|
|
:language-out :ecmascript5
|
|
|
|
:verbose true})
|
2017-03-01 14:08:26 -05:00
|
|
|
|
|
|
|
(b/watch (b/inputs "src" "test") options)
|