Hacker News new | ask | show | jobs
by rymndhng 3973 days ago
If your library is written in pure Clojure (no reliance on Java) it's fairly trivial with Clojure 1.7's Conditional Readers.

Here's an example of a repository that I've repurposed to compile both Clojure + Clojurescript.

https://github.com/rymndhng/clj-diff/commits/add-cljc-redo