0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00
penpot/scripts/build-tests.clj

22 lines
565 B
Clojure
Raw Normal View History

(require '[cljs.build.api :as b])
2015-06-18 12:35:50 -05:00
(println "Building ...")
(let [start (System/nanoTime)]
(b/build
2016-06-22 13:20:17 -05:00
(b/inputs "src" "test")
2016-06-21 11:31:35 -05:00
{:main 'uxbox.tests.main
:parallel-build false
2016-06-21 11:31:35 -05:00
:warnings {:ns-var-clash false}
:output-to "out/tests.js"
:source-map "out/tests.js.map"
:output-dir "out/tests"
:optimizations :simple
:static-fns true
2016-04-16 03:11:28 -05:00
:pretty-print true
2016-02-02 15:04:45 -05:00
:target :nodejs
2016-04-16 03:11:28 -05:00
:language-in :ecmascript6
:language-out :ecmascript5
2015-06-18 12:35:50 -05:00
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))