0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00
penpot/frontend/scripts/build-tests.clj
2017-03-01 20:08:26 +01:00

20 lines
522 B
Clojure

(require '[cljs.build.api :as b])
(def options
{:main 'uxbox.tests.main
:parallel-build false
:output-to "out/tests.js"
:source-map true
:output-dir "out/tests"
:optimizations :none
:static-fns true
:pretty-print true
:target :nodejs
:language-in :ecmascript6
:language-out :ecmascript5
:verbose true})
(let [start (System/nanoTime)]
(println "Building ...")
(b/build (b/inputs "src" "test") options)
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))