diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-22 20:19:18 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-22 20:24:21 -0600 |
commit | 6ec98e0b69b5a9000ff59e4a48981af2cc47493d (patch) | |
tree | 0be704be9c652585622319cb5f3c5866944e8052 /src/rebar_prv_install_deps.erl | |
parent | 4ea12beb77f9a46c72ec677e5934272ac6b2e850 (diff) |
rename functions to be clearer
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r-- | src/rebar_prv_install_deps.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index d9cf7ac..9822b32 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -77,7 +77,7 @@ do(State) -> end, Source = ProjectApps ++ rebar_state:src_apps(State1), - case rebar_digraph:sort_apps(Source) of + case rebar_digraph:compile_order(Source) of {ok, Sort} -> {ok, rebar_state:set(State1, deps_to_build, lists:dropwhile(fun rebar_app_info:valid/1, Sort -- ProjectApps))}; @@ -130,7 +130,7 @@ handle_deps(State, Deps, Update) -> []; PkgDeps1 -> %% Find pkg deps needed - S = case rebar_digraph:solve(Graph, PkgDeps1) of + S = case rebar_digraph:cull_deps(Graph, PkgDeps1) of {ok, []} -> throw({rebar_digraph, no_solution}); {ok, Solution} -> |