Hi David, next monday me, Federico and Francesco (in cc) which are interns in sinapsi to learn about big data, machine learning and data visualizations/infographics, will take a look at cljsbuild code to understand where Compilable protocol is involved.
Thank again for your advice and support. mimmo On Dec 8, 2012, at 12:44 AM, David Nolen <dnolen.li...@gmail.com> wrote: > I chimed in on the patch. Taking Brenton's approach sounds like it would be > significantly simpler and require a very small patch to lein-cljsbuild. > > > On Fri, Dec 7, 2012 at 1:24 PM, Mimmo Cosenza <mimmo.cose...@gmail.com> wrote: > Hi Evan, > Brenton Ashworth said that this kind of options should not be added to the > compiler, but to the tools that use the compiler. > > Could yowl please give me some advice from where to start patching > lein-cljsbuild following Brenton advice? > > Thank so much > > Mimmo > > Here is Brenton comment on :exclude option. > > > http://dev.clojure.org/jira/browse/CLJS-419?focusedCommentId=30185&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-30185 > > On Dec 7, 2012, at 7:04 AM, Evan Mezeske <emeze...@gmail.com> wrote: > >> Yeah, I saw that. Very cool stuff! Glad you could contribute. >> >> On Thursday, December 6, 2012 7:14:21 PM UTC-8, Mimmo Cosenza wrote: >> Hi Evan, >> just to let you that I submitted on clojurescript repo the patch to exclude >> a file and/or a directory of cljs from compilation. >> >> the new compiler option is :exclude and accepts both a name of a file or >> directory o a vector of files and/or directories. >> >> Hope it helps >> >> mimmo >> >> >> On Nov 16, 2012, at 10:39 AM, Mimmo Cosenza <mimmo....@gmail.com> wrote: >> >>> >>> 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 clo...@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+u...@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 > > > -- > 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 -- 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