0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00
penpot/scripts/build-tests.clj

20 lines
547 B
Clojure
Raw Normal View History

(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"
:parallel-build false
:optimizations :none
:closure-defines {"uxbox.repo.core.url"
"https://test.uxbox.io/api"}
2015-06-18 19:35:50 +02:00
:language-in :ecmascript5
:language-out :ecmascript5
2016-02-02 22:04:45 +02:00
:target :nodejs
2015-06-18 19:35:50 +02:00
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))