On Nov 16, 2012, at 8:28 AM, Evan Mezeske wrote: > > Unfortunately, there's no way to do that right now. I can't even think of a > decent workaround (although that doesn't mean there isn't one). >
Hi Evan and thanx for the answer > This is part of a more general problem, which is that each build can only > have a single :source-path and is not otherwise customizable. If you could > specify a vector of :source-paths, you could solve this problem pretty > easily. And once there was support for that, things like :exclude would be > easy to implement. I understand.. > > If you wouldn't mind, please create a new issue, or maybe just add to this > one: https://github.com/emezeske/lein-cljsbuild/issues/108 . I'll do by adding a new issue and referencing #108 and viceversa.... thanks again Mimmo > > Thanks, > -Evan > > On Thursday, November 15, 2012 6:56:45 AM UTC-7, Mimmo Cosenza wrote: > Hi all, > my question is the following: > > - I like to have the usual brepl connect to the browser during development > - I like to have the same source-base (e.g. :source-path "src/cljs") for both > the development and production builds (e.g. :builds {:prod {.....} {:dev > {.....} of :cljsbuild keyword) > > Is there a way in lein-cljsbuild to reach this goal? I'd like to write > something like this in :prod build > > (defproject.... > > :cljsbuild {:builds > {:dev {:source-path "src/cljs" > :compiler :output-to > "resources/public/js/main_debug.js" > :optimizations :whitespace > :pretty-print true}} > :prod {:source-path "src/cljs" > ;;; here a key/values to exclude some file in > :source-path from compilation, something like :exclude ["afil.cljs" > "another-file.cljs"] > :compiler :output-to > "resources/public/js/main.js" > :optimizations :advanced}}) > > > Thanks for the attention > > Mimmo > > > -- > 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