summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-01-24 11:06:38 -0500
committerGitHub <noreply@github.com>2019-01-24 11:06:38 -0500
commit9dc4a3dacb90ef470561b20973c7119cd5d09b8b (patch)
treeaf9b4e788c4c52e93ac58401895317090df855ec
parent369ff85dd602f7878c63db6a9ea3f3a735db1f77 (diff)
parent3b08254b617d0ec602e61e062cabd230b9c13a8a (diff)
Merge pull request #2000 from ferd/reorder-deps-tree
Reorder rebar3 tree output on umbrella apps
-rw-r--r--src/rebar_prv_deps_tree.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_deps_tree.erl b/src/rebar_prv_deps_tree.erl
index d7b49c5..3a697be 100644
--- a/src/rebar_prv_deps_tree.erl
+++ b/src/rebar_prv_deps_tree.erl
@@ -52,7 +52,8 @@ print_deps_tree(SrcDeps, Verbose, State) ->
,project} || App <- rebar_state:project_apps(State)],
case dict:find(root, D) of
{ok, Children} ->
- print_children("", lists:keysort(1, Children++ProjectAppNames), D, Verbose);
+ print_children("", lists:keysort(1, ProjectAppNames), D, Verbose),
+ print_children(" ", lists:keysort(1, Children), D, Verbose);
error ->
print_children("", lists:keysort(1, ProjectAppNames), D, Verbose)
end.