Current section
Files
Jump to
Current section
Files
dependents_tree
README.md
README.md
# Dependents Tree
Writes a list of local apps to `:stdio` after ordering them topologically.
These local apps should be under some _projects directory_
and environment variable `PROJEX_DIR` should be set to it.
Does not support umbrella projects.
The dependencies (deps) of an app are specified in the `mix.exs` file.
The _dependents_ (or _dependants_) of an app are those apps using it as a
dependency.
Allows to update local interdependent apps in a topological order.
In other words, if a given app is changed, what other apps become outdated
(directly or _indirectly_) and in what order should they be updated so that,
at the end, they are all up-to-date.
## Installation
Clone `Dependents Tree` and then compile and archive it:
```
git clone https://github.com/RaymondLoranger/dependents_tree
cd dependents_tree
mix deps.get
mix compile
mix archive.install
```
You can now run the application like so:
- `mix dependents.tree --all` # to print all local apps topologically sorted
- `mix dependents.tree log_reset` # to print the dependents of log_reset