From 723a34b79429511f4fa594c26991b8d4e5ab6624 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 2 Sep 2014 18:43:36 -0500 Subject: don't include project apps in deps --- src/rebar_prv_install_deps.erl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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)}. -- cgit v1.1