The main options for sharing Clojure and ClojureScript code at this point are:
1. Use lein-cljsbuilds crossover feature [1] 2. Kevin Lynagh's cljx [2] 3. Symlink your .clj source as a .cljs file [1] https://github.com/emezeske/lein-cljsbuild/blob/0.1.8/doc/CROSSOVERS.md [2] https://github.com/lynaghk/cljx On Thu, Apr 19, 2012 at 1:02 AM, Mark Engelberg <mark.engelb...@gmail.com> wrote: > What is an appropriate workflow for building underlying logic code that > needs to be incorporated into both clojure code and clojurescript code? > > If the code is written in such a way that it would work under both Clojure > and Clojurescript, what is the right way to name it and organize it in > directories so that both the clojure code and clojurescript code can see it? > > Thanks, > > Mark > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en