2016-04-14 21:39:50 +03:00
|
|
|
(require '[cljs.build.api :as b])
|
2015-06-18 19:35:50 +02:00
|
|
|
|
|
|
|
(println "Building ...")
|
|
|
|
|
|
|
|
(let [start (System/nanoTime)]
|
|
|
|
(b/build
|
2016-04-07 22:51:40 +03:00
|
|
|
(b/inputs "src" "vendor" "test")
|
2016-02-02 21:45:51 +02:00
|
|
|
{:main 'uxbox.test-runner
|
|
|
|
:output-to "out/tests.js"
|
|
|
|
:output-dir "out"
|
2016-01-12 16:54:31 +02:00
|
|
|
:parallel-build false
|
2016-02-04 23:09:27 +02:00
|
|
|
:optimizations :none
|
2016-04-16 11:11:28 +03:00
|
|
|
:pretty-print true
|
2016-02-02 22:04:45 +02:00
|
|
|
:target :nodejs
|
2016-04-16 11:11:28 +03:00
|
|
|
:language-in :ecmascript6
|
|
|
|
:language-out :ecmascript5
|
2015-06-18 19:35:50 +02:00
|
|
|
:verbose true})
|
|
|
|
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))
|