Leiningen plugin for compiling Cirru code into Clojure.
Internally it uses Sepal in Clojure to transform code.
Add cirru/lein-sepal
in project.clj
(choose higher versions):
:plugins [[cirru/lein-sepal "0.0.11"]]
Add configurations in your project.clj
to set paths, for example:
:cirru-sepal {:paths ["cirru-src" "cirru-test"]}
It will compile *.clj.cirru
to *.clj
(or *.cljs.cirru
to .cljs
):
- from
cirru-src/
tosrc/
- from
cirru-test/
totest/
lein cirru-sepal # compile once
lein cirru-sepal watch # watch compiling
You may set extension to .cljs
if needed.
Copyright © 2015 jiyinyiyong
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.