Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

the-kenny/lein-deps-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lein-deps-tree

A Leiningen plugin to print a print a nicely formatted tree of a project's dependencies.

Usage

Put [lein-deps-tree "0.1.2"] into the :plugins vector of your :user profile, or if you are on Leiningen 1.x do lein plugin install lein-deps-tree 0.1.2.

Run

$ lein deps-tree

to print the tree of dependencies.

Run

$ lein deps-tree <integer>

to control the indentation level.

Example Output

Example output of a project with [compojure "1.0.1"] and [clojure "1.3.0"] as dependency:

$ lein deps-tree
[compojure 1.0.1]
         [clout 1.0.1]
         [org.clojure/core.incubator 0.1.0]
         [org.clojure/tools.macro 0.1.0]
         [ring/ring-core 1.0.1]
                  [commons-codec 1.4]
                  [commons-fileupload 1.2.1]
                  [commons-io 1.4]
                  [javax.servlet/servlet-api 2.5]
[org.clojure/clojure 1.3.0]

Known Bugs

  • SNAPSHOT releases aren't included in the dependency tree
  • There MIGHT be an issue with lein deps failing with some pomegrenate exception. See 1.

License

Copyright © 2012 Moritz Ulrich

Distributed under the Eclipse Public License, the same as Clojure.

About

Prints a nicely formatted tree of all project dependencies

Resources

Stars

Watchers

Forks

Packages

No packages published