Skip to content

Instantly share code, notes, and snippets.

@josevalim josevalim/mix app.tree
Last active Jul 20, 2018

Embed
What would you like to do?
Sample output of the new "mix app.tree" and "mix deps.tree" tasks in a Phoenix project (using master). The first command shows the applications you will effectively need at runtime in production while "deps.tree" is your whole dependency tree, including compile time, dev and test dependencies.
$ mix app.tree
demo
├── elixir
├── phoenix
│ ├── elixir
│ ├── plug
│ │ ├── elixir
│ │ ├── crypto
│ │ └── logger
│ │ └── elixir
│ ├── poison
│ │ └── elixir
│ ├── logger
│ │ └── elixir
│ └── eex
│ └── elixir
├── phoenix_html
│ ├── elixir
│ ├── logger
│ │ └── elixir
│ └── plug
│ ├── elixir
│ ├── crypto
│ └── logger
│ └── elixir
├── cowboy
│ ├── ranch
│ ├── cowlib
│ │ └── crypto
│ └── crypto
├── logger
│ └── elixir
├── gettext
│ ├── elixir
│ └── logger
│ └── elixir
├── phoenix_ecto
│ ├── elixir
│ ├── logger
│ │ └── elixir
│ └── ecto
│ ├── elixir
│ ├── logger
│ │ └── elixir
│ ├── decimal
│ │ └── elixir
│ └── poolboy
└── postgrex
├── elixir
├── logger
│ └── elixir
├── db_connection
│ ├── elixir
│ ├── logger
│ │ └── elixir
│ └── connection
│ └── elixir
└── decimal
└── elixir
$ mix deps.tree
demo
├── gettext ~> 0.9 (Hex package)
├── cowboy ~> 1.0 (Hex package)
│ ├── cowlib ~> 1.0.0 (Hex package)
│ └── ranch ~> 1.0 (Hex package)
├── phoenix_html ~> 2.3 (Hex package)
│ └── plug ~> 0.13 or ~> 1.0 (Hex package)
│ └── cowboy ~> 1.0 (Hex package)
├── phoenix (../..) *override*
│ ├── cowboy ~> 1.0 (Hex package)
│ ├── plug ~> 1.0 (Hex package)
│ │ └── cowboy ~> 1.0 (Hex package)
│ ├── phoenix_pubsub (https://github.com/phoenixframework/phoenix_pubsub.git)
│ └── poison ~> 1.5 or ~> 2.0 (Hex package)
├── phoenix_live_reload ~> 1.0 (Hex package)
│ ├── phoenix ~> 0.16 or ~> 1.0 (Hex package)
│ └── fs ~> 0.9.1 (Hex package)
├── postgrex >= 0.0.0 (Hex package)
│ ├── decimal ~> 1.0 (Hex package)
│ ├── db_connection ~> 0.2 (Hex package)
│ │ └── connection ~> 1.0.2 (Hex package)
│ └── connection ~> 1.0 (Hex package)
└── phoenix_ecto ~> 2.0 (Hex package)
├── phoenix_html ~> 2.2 (Hex package)
└── ecto ~> 1.1.2 (Hex package)
├── postgrex ~> 0.11.0 (Hex package)
├── poolboy ~> 1.4 (Hex package)
└── decimal ~> 1.0 (Hex package)
@lexmag

This comment has been minimized.

Copy link

commented Feb 4, 2016

💛

@tony612

This comment has been minimized.

Copy link

commented Feb 4, 2016

❤️

@bigardone

This comment has been minimized.

Copy link

commented Feb 4, 2016

❤️

@djm

This comment has been minimized.

Copy link

commented Feb 4, 2016

❤️

@yiyocx

This comment has been minimized.

Copy link

commented Feb 4, 2016

❤️

@nirev

This comment has been minimized.

Copy link

commented Feb 4, 2016

@duff

This comment has been minimized.

Copy link

commented Feb 4, 2016

💟

@potto007

This comment has been minimized.

Copy link

commented Feb 4, 2016

ub1ae4

@mindreframer

This comment has been minimized.

Copy link

commented Feb 4, 2016

AWESOME!!

@gonglexin

This comment has been minimized.

Copy link

commented Feb 5, 2016

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.