summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_install_deps.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index b75964f..ad585b1 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -139,12 +139,11 @@ handle_deps(State, Deps) ->
end,
Source = ProjectApps ++ ordsets:to_list(rebar_state:src_deps(State2)),
- AllDeps = ordsets:union([ordsets:from_list(ProjectApps)
- ,ordsets:to_list(rebar_state:src_deps(State2))
- ,ordsets:from_list(Solved)]),
+ AllDeps = ordsets:union([ordsets:to_list(rebar_state:src_deps(State2))
+ ,ordsets:from_list(Solved)]),
%% Sort all apps to build order
- State3 = rebar_state:set(State2, all_deps, AllDeps -- ProjectApps),
+ State3 = rebar_state:set(State2, all_deps, AllDeps),
{ok, Sort} = rebar_topo:sort_apps(ordsets:to_list(Source)),
{ok, rebar_state:set(State3, deps_to_build, lists:dropwhile(fun is_valid/1, Sort) -- ProjectApps)}.