0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00
penpot/scripts/watch-tests.clj
2016-04-08 11:03:29 +03:00

17 lines
479 B
Clojure

(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)))
(b/watch (b/inputs "src" "vendor" "test")
{:main 'uxbox.test-runner
:output-to "out/tests.js"
:output-dir "out"
:parallel-build false
:optimizations :none
:pretty-print true
:target :nodejs
:language-in :ecmascript5
:language-out :ecmascript5
:verbose true})