diff options
author | Jordan Wilberding <[email protected]> | 2016-01-12 06:01:37 -0800 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2016-01-12 06:01:37 -0800 |
commit | 833abfa304aa742bbf2b0fb1beb1b26a8ab45876 (patch) | |
tree | 3106ec569ea492d5e50e6aa408c5bcfcfc82a3eb /src/rlx_release.erl | |
parent | 1d470eea697e1e36e7fd721dcc70b6f130fb1c07 (diff) | |
parent | d9f60a62c0d0cb34d4f0d8671e7e6c510a0548c5 (diff) | |
download | relx-833abfa304aa742bbf2b0fb1beb1b26a8ab45876.tar.gz relx-833abfa304aa742bbf2b0fb1beb1b26a8ab45876.tar.bz2 relx-833abfa304aa742bbf2b0fb1beb1b26a8ab45876.zip |
Merge pull request #437 from tsloughter/topov3.13.0
Remove custom topo sort
Diffstat (limited to 'src/rlx_release.erl')
-rw-r--r-- | src/rlx_release.erl | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/rlx_release.erl b/src/rlx_release.erl index bf14a9e..2dc6ce0 100644 --- a/src/rlx_release.erl +++ b/src/rlx_release.erl @@ -144,12 +144,7 @@ goals(#release_t{goals=Goals}) -> {ok, t()} | relx:error(). realize(Rel, Pkgs0, World0) -> World1 = subset_world(Pkgs0, World0), - case rlx_topo:sort_apps(World1) of - {ok, Pkgs1} -> - process_specs(realize_erts(Rel), Pkgs1); - Error={error, _} -> - Error - end. + process_specs(realize_erts(Rel), World1). %% @doc this gives the application specs for the release. This can only be %% populated by the 'realize' call in this module. @@ -244,8 +239,6 @@ format_goal(Constraint) -> rlx_depsolver:format_constraint(Constraint). -spec format_error(Reason::term()) -> iolist(). -format_error({topo_error, E}) -> - rlx_topo:format_error(E); format_error({failed_to_parse, Con}) -> io_lib:format("Failed to parse constraint ~p", [Con]); format_error({invalid_constraint, _, Con}) -> |