[ClojureScript] Re: Standard way to provide externs for library authors

2014-11-19 Thread Thomas Heller
Well yes, the compiler only needs to produce .js from .cljs. The second phase is packaging everything together, this is where Closure kicks in. That part needs externs, preamble and the like. I would agree that does not need to be in ClojureScript itself, the whole Closure part ist not

Re: [ClojureScript] Re: Standard way to provide externs for library authors

2014-11-19 Thread Micha Niskin
I agree that these are not things I'd want to see incorporated into the CLJS compiler, for sure. I think that it's the role of build tooling to do this stuff. Boot does just fine driving the CLJS compiler, telling it where externs are and so forth, and this is the way I'd most prefer, in a perfect

[ClojureScript] Re: Standard way to provide externs for library authors

2014-11-10 Thread Thomas Heller
Hey, the feature already exists like I mentioned on github. I'm just not sure about its state since it is marked experimental [1]. I'm not sure how it came into existence or what the backstory was but if I understand the code correctly you are supposed to include a deps.cljs in your .jar which