0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 16:00:19 -05:00
penpot/scripts/build.clj
2015-12-30 00:18:59 +02:00

16 lines
445 B
Clojure

(require '[cljs.build.api :as b])
(println "Building ...")
(let [start (System/nanoTime)]
(b/build
(b/inputs "frontend")
{:main 'uxbox.core
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js"
:optimizations :advanced
:language-in :ecmascript5
:language-out :ecmascript5
:asset-path "/js"
:verbose true})
(println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))