On Friday, November 16, 2012 8:28:18 AM UTC+1, Evan Mezeske wrote:
>
> 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 .
>

done. added issue #157 with reference to #108 and viceversa.

thanks 
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

Reply via email to