diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-08-29 17:07:18 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-08-31 21:40:51 -0500 |
commit | f209ccc2b8ea79279532f1fe1debe24aa0e6a488 (patch) | |
tree | 7779674a7e082a16d1721bd0e3e7c401cc664a73 /src/rebar_plugins.erl | |
parent | 98752aab9390137d7cba0b70e0c1c08b9ca308d4 (diff) |
remove state record from app_info record
Diffstat (limited to 'src/rebar_plugins.erl')
-rw-r--r-- | src/rebar_plugins.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl index 752514c..80f62f5 100644 --- a/src/rebar_plugins.erl +++ b/src/rebar_plugins.erl @@ -92,7 +92,8 @@ handle_plugin(Profile, Plugin, State, Upgrade) -> build_plugin(AppInfo, Apps, State) -> Providers = rebar_state:providers(State), %Providers1 = rebar_state:providers(rebar_app_info:state(AppInfo)), - S = rebar_state:all_deps(rebar_app_info:state_or_new(State, AppInfo), Apps), + %rebar_app_info:state_or_new(State, AppInfo) + S = rebar_state:all_deps(State, Apps), S1 = rebar_state:set(S, deps_dir, ?DEFAULT_PLUGINS_DIR), rebar_prv_compile:compile(S1, Providers, AppInfo). |