Yehonathan Sharvit,

I think Google's Closure compiler already has dead code elimination, so 
it's available for ClojureScript even if Yagni doesn't provide it :).

Cheers,

Juan

On Wednesday, June 24, 2015 at 5:11:01 AM UTC-3, Yehonathan Sharvit wrote:
>
> Does yagni work with cljs projects?
>
> On Wednesday, 24 June 2015 02:27:46 UTC+3, Andrew Oberstar wrote:
>>
>> Haven't tried it yet, but looks good. Nice work!
>>
>> Andrew Oberstar
>>
>> On Tue, Jun 23, 2015 at 12:39 PM W. David Jarvis <vena...@gmail.com> 
>> wrote:
>>
>>> Hello everyone. 
>>>
>>> I'm happy to announce the initial release of Yagni, a Leiningen plugin 
>>> for finding unused code. 
>>>
>>> At a high level, Yagni works by identifying all of the interned vars in 
>>> the namespaces findable within your :source-paths, and then walking the 
>>> forms of those vars.
>>>
>>> As it walks the forms, it builds a graph of references to other vars. It 
>>> then searches the graph from a set of entrypoints (by default your 
>>> project's :main method), and emits warnings for any vars that it 
>>> couldn't find in the graph's search.
>>>
>>> There's some other clever stuff going on there and some options for 
>>> additional customization as well. I've written up a blog post, located 
>>> here <http://blog.venanti.us/yagni/>, that goes into considerably more 
>>> detail on how the plugin works and what the project's roadmap looks like. 
>>>
>>> For those of you who want to look at the repository, it's on GitHub 
>>> here: https://github.com/venantius/yagni
>>>
>>> And, of course, for those of you who just want to get started fiddling, 
>>> you can add the following to your project's plugins map `[venantius/yagni 
>>> "0.1.1"]` and type `lein yagni` to give it a whirl.
>>>
>>> Cheers!
>>>
>>>  - V
>>>
>>> -- 
>>> 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 unsubscribe from this group and stop receiving emails from it, send 
>>> an email to clojure+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to