Fork me on GitHub
#luminus
<
2015-08-19
>
Pablo Fernandez06:08:12

@yogthos: I’m seeing this pattern of separating Clojure and ClojureScript into src/clj and src/cljs and src/cljx (and the counterpart in tests). Do you think Luminus should follow it?

yogthos12:08:53

@pupeno: there's no point of doing cljx anymore since cljc cross-compiles automatically with clojure 1.7

yogthos12:08:52

doing src/clj and src/cljs would mean that all the paths would have to be updated if cljs profile is selected in the template

yogthos12:08:07

I don't know if there's any practical advantage to that pattern though

Pablo Fernandez13:08:04

For me it looks cleaner and I can see most templates use that pattern. I’ll find myself doing the refactoring to src/clj and src/cljs every time I create a new app.