BirdseyeSoftware / lein-dalap

Leiningen plugin to transform Clojure modules -> Clojurescript, without having to fork your codebase!
http://birdseye-sw.com/oss/lein-dalap/
MIT License
48 stars 3 forks source link

Preserve formatting of original file? #4

Open guns opened 10 years ago

guns commented 10 years ago

Hello,

I am currently using lein-dalap to generate the CLJS version of the tools.cli test file. I would like to use dalap to generate the CLJS version of the file as well, but it would be inappropriate to check in an unreadable source file into the repository.

CLJX produces files that have the same formatting as the original, but of course, it is also inappropriate since CLJX files are not real Clojure files.

Would you consider adding this feature for people like me? I wouldn't bother checking a preprocessed file into a personal project, but I think it makes sense for public libraries.

Thank you!