In the vein of "there are no stupid questions" :), how does one structure a combined clj and cljs project that uses reader conditionals? At the moment I am using cljx and have:
- src/clj for clojure files
- src/cljs for clojurescript files
- src/cljx for cljx
- target/cljx/clj for clojure files compiled (transpiled?) from cljx
- target/cljx/cljs for clojurescript files compiled (transpiled?) from clix
On the source path in cljsbuild for example I have src/cljs and /target/cljx/cljs
To remove cljx and use reader conditionals is it sufficient to:
- replace src/cljx with src/cljc
- remove target/cljx from cljsbuild source path
- add src/cljc to cljsbuild source path
- add src/cljc to leiningen source path
Thanks!