That looks great - many thanks! -- paul.butcher->msgCount++
Silverstone, Brands Hatch, Donington Park... Who says I have a one track mind? http://www.paulbutcher.com/ LinkedIn: http://www.linkedin.com/in/paulbutcher Skype: paulrabutcher Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel http://pragprog.com/book/pb7con On 15 May 2014 at 13:01:41, Mimmo Cosenza ([email protected]) wrote: take a loo at this link https://github.com/magomimmo/fb/blob/master/profiles.clj my best mimmo On May 15, 2014, at 1:57 PM, Paul Butcher <[email protected]> wrote: The :cljsbuild section of my project.clj has a lot of duplication: :cljsbuild { :builds {:dev {:source-paths ["src-cljs"] :compiler {:output-dir "resources/public/js" :output-to "resources/public/js/main.js" :optimizations :whitespace :pretty-print true :source-map "resources/public/js/main.map" :language-in :ecmascript5}} :production {:source-paths ["src-cljs"] :compiler {:output-to "resources/public/js/main.min.js" :optimizations :advanced :pretty-print false :language-in :ecmascript5 :externs ["react/externs/react.js" "resources/public/third-party/mutation-summary/mutation-summary.js"]}} :test {:source-paths ["src-cljs" "test-cljs"] :compiler {:output-to "resources/private/js/unit-test.js" :optimizations :whitespace :pretty-print true :language-in :ecmascript5 :preamble ["react/react.min.js"] :externs ["react/externs/react.js" "resources/public/third-party/mutation-summary/mutation-summary.js"]}}} :test-commands {"unit-tests" ["slimerjs" :runner "resources/private/js/unit-test.js"]}} I’m sure that it must be possible to use Leiningen profiles to factor out much of this duplication, but my Leiningen-fu is lacking. I’d be grateful for any pointers. -- paul.butcher->msgCount++ Silverstone, Brands Hatch, Donington Park... Who says I have a one track mind? http://www.paulbutcher.com/ LinkedIn: http://www.linkedin.com/in/paulbutcher Skype: paulrabutcher Author of Seven Concurrency Models in Seven Weeks: When Threads Unravel http://pragprog.com/book/pb7con -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
