diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-09-02 18:43:36 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-09-02 18:43:36 -0500 |
commit | 723a34b79429511f4fa594c26991b8d4e5ab6624 (patch) | |
tree | b960baa14a2be649ee8fd9d512dd3c68ccc54aaa /src | |
parent | 5373b56bfa199f8db4caead2ec28f9a6a87e2e83 (diff) |
don't include project apps in deps
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_install_deps.erl | 7 |
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)}. |