Cljx is deprecated, please use cljc instead.
Boot task to compile Cljx.
cljx
task.cljx
files and creates corresponding .clj
and .cljs
files.
Resulting files will be available to others tasks and on classpath.; All files (.clj, .cljx, .cljs) could be on the same directory,
; but I like to have separate directories per filetype.
(set-env! :src-paths #{"src/cljx" "src/clj" "src/cljs"})
; Run cljx before cljs
; $ boot cljx cljs ...
(deftask package
"Package the app"
[]
(comp
(cljx)
(cljs)
...))
Copyright (C) 2014-2015 Juho Teperi
Distributed under the MIT License.