2016-01-08 01:43:59 +02:00
|
|
|
(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 19:35:50 +02:00
|
|
|
|
2016-01-12 16:54:31 +02:00
|
|
|
(b/watch (b/inputs "src")
|
2015-06-18 19:35:50 +02:00
|
|
|
{:main 'uxbox.core
|
|
|
|
:output-to "resources/public/js/main.js"
|
|
|
|
:output-dir "resources/public/js"
|
2016-01-12 16:54:31 +02:00
|
|
|
:parallel-build false
|
2015-06-18 19:35:50 +02:00
|
|
|
:asset-path "/js"
|
|
|
|
:optimizations :none
|
|
|
|
:pretty-print true
|
|
|
|
:language-in :ecmascript5
|
|
|
|
:language-out :ecmascript5
|
|
|
|
:verbose true})
|