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

18 lines
470 B
Clojure
Raw Normal View History

(require '[cljs.build.api :as b]
'[cljs.tagged-literals])
(alter-var-root #'cljs.tagged-literals/*cljs-data-readers*
assoc 'ux/tr (fn [v] `(uxbox.locales/tr ~v)))
2015-06-18 12:35:50 -05:00
2016-02-02 14:33:32 -05:00
(b/watch (b/inputs "src" "test")
{:main 'uxbox.test-runner
:output-to "out/tests.js"
:output-dir "out"
:parallel-build false
2015-06-18 12:35:50 -05:00
:optimizations :none
:pretty-print true
2016-02-02 14:33:32 -05:00
:target :nodejs
2015-06-18 12:35:50 -05:00
:language-in :ecmascript5
:language-out :ecmascript5
:verbose true})