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

Reply via email to