[ClojureScript] Re: Script tags in Html for different environments

2014-07-29 Thread Ivan L
This is the sweet spot for lein profiles. cljs-start has a good example of it. The nice thing about using profiles is that you can reuse as much as you want in your dev profile code (which will probably just be a few simple items like handlers and template page or two) and then your prod

Re: [ClojureScript] Re: Script tags in Html for different environments

2014-07-29 Thread Udayakumar Rayala
Thanks everyone for the replies. It is really useful to hear your thoughts. I am summarizing the options and my thoughts around them: - https://github.com/thheller/shadow-build I havent looked into this. I will check and see if it solves my use case. - Enlive to override the index.html in

[ClojureScript] Re: Script tags in Html for different environments

2014-07-28 Thread Thomas Heller
Hey, if you are feeling adventurous you could try https://github.com/thheller/shadow-build, it is an alternate build library to lein-cljsbuild that I wrote that doesn't have that problem. But its quite alot more complicated to get started compared to lein-cljsbuild, never tried figwheel so