summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-04-23 00:04:59 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-04-23 00:04:59 -0400
commit3a63bec39fde05dcddf3f693dd780879662b599c (patch)
tree1e3fcf0e19a2128f63b669eb2703c3de154aed64 /src/rebar_prv_compile.erl
parent0537a0699d01e4ae61dd32db0d964224bf9a1f5e (diff)
parent7b723d3a87230a893e61130024b5dbc38a3a749c (diff)
Merge pull request #358 from tsloughter/build_with_rebar3
real bootstrapping
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index 25bda8c..1fb29bd 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -32,7 +32,7 @@ init(State) ->
-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
do(State) ->
DepsPaths = rebar_state:code_paths(State, all_deps),
- code:add_paths(DepsPaths),
+ code:add_pathsa(DepsPaths),
ProjectApps = rebar_state:project_apps(State),
Providers = rebar_state:providers(State),
@@ -83,7 +83,6 @@ build_app(State, Providers, AppInfo) ->
end,
%% Legacy hook support
-
rebar_hooks:run_all_hooks(AppDir, pre, ?PROVIDER, Providers, S),
AppInfo1 = compile(S, AppInfo),
rebar_hooks:run_all_hooks(AppDir, post, ?PROVIDER, Providers, S),