0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00
penpot/frontend/scripts/build-tests.clj

21 lines
522 B
Clojure
Raw Normal View History

(require '[cljs.build.api :as b])
2015-06-18 19:35:50 +02:00
2017-03-01 20:08:26 +01:00
(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})
2015-06-18 19:35:50 +02:00
(let [start (System/nanoTime)]
2017-03-01 20:08:26 +01:00
(println "Building ...")
(b/build (b/inputs "src" "test") options)
2015-06-18 19:35:50 +02:00
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))