Deraen / boot-cljx

Boot task to compile Cljx
MIT License
7 stars 3 forks source link

boot-cljx

Clojars Project

Cljx is deprecated, please use cljc instead.

Boot task to compile Cljx.

Use

; 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)
    ...))

License

Copyright (C) 2014-2015 Juho Teperi

Distributed under the MIT License.