2016-01-07 18:43:59 -05:00
|
|
|
(require '[cljs.build.api :as b]
|
|
|
|
'[cljs.tagged-literals])
|
|
|
|
|
|
|
|
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
|
|
|
|
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
|
2015-06-18 12:35:50 -05:00
|
|
|
|
2016-02-02 14:33:32 -05:00
|
|
|
(b/watch (b/inputs "src" "test")
|
|
|
|
{:main 'uxbox.test-runner
|
|
|
|
:output-to "out/tests.js"
|
|
|
|
:output-dir "out"
|
2016-01-12 09:54:31 -05:00
|
|
|
:parallel-build false
|
2015-06-18 12:35:50 -05:00
|
|
|
:optimizations :none
|
|
|
|
:pretty-print true
|
2016-02-02 14:33:32 -05:00
|
|
|
:target :nodejs
|
2015-06-18 12:35:50 -05:00
|
|
|
:language-in :ecmascript5
|
|
|
|
:language-out :ecmascript5
|
|
|
|
:verbose true})
|