2014-05-19 20:03 GMT+02:00 Wes Brown <[email protected]>: > > cljs-in-cljs is also built in this style, but if the language converges, > then hopefully this means that there will be less cljs and cli specific > files. > > Is there a system by which a clj file can be compiled by cljs? My > understanding is that clj files are executed by the Clojure compiler, but > that may be a reflection of usually using macros. Would I need to do > something ghetto like symlink .clj files to .cljs? >
There isn't such a system, currently. I think it should suffice to add a third folder, besides src/clj and src/cljs, for files that are source-compatible with both clj and cljs. Maybe src/clg (for clojure-generic)? However, until such a system is pioneered, I'd recommend just copy & pasting between distinct sets of clj and cljs files. cheers -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
