diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-10-16 21:43:44 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-10-16 21:44:02 -0500 |
commit | fa74056d2ac7add49397615cde8b5591f3c36bf6 (patch) | |
tree | a38a3104420ca5aa0c8ca7f37f27024fb9fdd591 /src/rebar_prv_install_deps.erl | |
parent | 141d34a5d01216b7e918b07c22ee998766217b6d (diff) |
test deps support, but builds them after project apps currently
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r-- | src/rebar_prv_install_deps.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index a717e5f..654a5fb 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -77,7 +77,7 @@ do(State) -> Source = ProjectApps ++ rebar_state:src_apps(State1), case rebar_topo:sort_apps(Source) of {ok, Sort} -> - {ok, rebar_state:set(State1, deps_to_build, lists:dropwhile(fun is_valid/1, Sort -- ProjectApps))}; + {ok, rebar_state:set(State1, deps_to_build, lists:dropwhile(fun rebar_app_info:valid/1, Sort -- ProjectApps))}; {error, Error} -> {error, Error} end. @@ -137,10 +137,6 @@ handle_deps(State, Deps, Update) -> %% Internal functions %% =================================================================== --spec is_valid(rebar_app_info:t()) -> boolean(). -is_valid(App) -> - rebar_app_info:valid(App). - -spec package_to_app(file:filename_all(), rebar_dict(), rlx_depsolver:pkg()) -> [rebar_app_info:t()]. package_to_app(DepsDir, Packages, Pkg={_, Vsn}) -> |