This is an emacs plugin which uses lein-ancient[1] to automatically insert
the latest version vector of a library at the cursor in emacs. This works
with clojars, maven central and even compatible private repositories.

Simply M-x latest-clojure-libraries-insert-dependency, type the name of
your desired library, e.g. cheshire, and [cheshire "5.2.0"] will be
inserted at the cursor position.

Better yet, if you have an nrepl running and pomegranate[2] in your
dependencies, it will ask you if you want to inject the dependency into the
running nrepl, meaning you can add dependencies without restarting your
program!

Further details and installation instructions are in the README at:
https://github.com/AdamClements/latest-clojure-libraries

Many thanks to Yannick Scherer (xsc) for incorporating the necessary
command into lein-ancient

Adam Clements

[1] https://github.com/xsc/lein-ancient
[2] https://github.com/cemerick/pomegranate

-- 
-- 
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/groups/opt_out.

Reply via email to