Following on from : https://groups.google.com/d/topic/clojure/IngUs2TUJV8/discussion
I modified Chris Granger's cljs-watch to facilitate easy use of generic clj files as ClojureScript files. cljs-watch code is here: https://github.com/davesann/cljs-watch An example Noir project layout is here: https://github.com/davesann/generic-clojurescript-compile-example The method is similar to that outlined in my original post, using path naming conventions to distinguish jvm specific, cljs specific, and generic files. I expect that some may not like the naming conventions. There are possible alternatives to this method - but, for me, these would require changes to Leiningen to allow for multiple Clojure src directories. (multiple src directories do not seem possible at this time.) In reference to some of the other discussions I have seen, I am not a strong fan of the :generic marking in clj files. Essentially because the file has to be opened and parsed to determine whether it should be included in the build. I think that this may not be such a good idea for larger builds. I may be wrong. Let me know If you find this useful Regards Dave -- 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