summaryrefslogtreecommitdiff
path: root/src/rebar_prv_packages.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-19 22:41:33 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-21 09:50:04 -0500
commit31a24ad4ffb6a121819087da2cb9b58db5bd287d (patch)
tree2df0bc415d138d817c6bffbfc696a3079698629c /src/rebar_prv_packages.erl
parentb52395f4aec11bacaace91ec72e100c9778d6098 (diff)
this patch treats pkg and src deps as equals, so level decides winner
Instead fetching and resolving src deps (which could depend on pkg deps) and then pkg deps this patch combines the two into a single set of iterations by level. The only difference between src and pkg deps in this new install_deps is how their deps list is found -- from the config or lock file for src deps and from the neighbors of the vertex for pkg.
Diffstat (limited to 'src/rebar_prv_packages.erl')
-rw-r--r--src/rebar_prv_packages.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_packages.erl b/src/rebar_prv_packages.erl
index 82ed2f7..44cde4e 100644
--- a/src/rebar_prv_packages.erl
+++ b/src/rebar_prv_packages.erl
@@ -27,7 +27,7 @@ init(State) ->
-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
do(State) ->
- {Dict, _} = rebar_state:packages(State),
+ Dict = rebar_packages:packages(State),
print_packages(Dict),
{ok, State}.