Clojure: is there a way to load leiningen plugins as libraries? -


question:

is there way load lein plugin, codex or lein-beanstalk, clojure library ?

context:

i'm writing tools managing lein projects, , keep finding myself wanting have functionality of lein plugins libraries in code -- don't see way access lein-pluins namespaces clojure user land.

edit:

in particular, want use: https://github.com/weavejester/codox

i want able equiv of "lein doc" inside of "lein repl."

the problem can't load codox.codox.core namespace.

thanks!

of course can it. leiningen plugins plain maven artifacts. need specify plugin in :dependencies clause in project.clj, this:

   :dependencies [[org.clojure/clojure "1.3.0"]                   [lein-beanstalk "0.2.2"]] 

then run lein deps , leiningen download needed plugin lib directory.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -