summaryrefslogtreecommitdiff
path: root/src/rebar_plugins.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-21 22:46:08 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-21 22:46:08 -0400
commit69ae48e8f15f0142bcd12645171571d8c5210fb5 (patch)
treefd677287344a35aa002d731a99d6fcc81d015167 /src/rebar_plugins.erl
parent382736328869adafe6e69b0e3526fe5424acb311 (diff)
parente65ad8c2cad285ba481ea532203b8f92482621fe (diff)
Merge pull request #458 from tsloughter/run_plugin_hooks
run hooks when building plugins
Diffstat (limited to 'src/rebar_plugins.erl')
-rw-r--r--src/rebar_plugins.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl
index d03ada0..6d0a4dc 100644
--- a/src/rebar_plugins.erl
+++ b/src/rebar_plugins.erl
@@ -63,7 +63,7 @@ build_plugin(AppInfo) ->
AppDir = rebar_app_info:dir(AppInfo),
C = rebar_config:consult(AppDir),
S = rebar_state:new(rebar_state:new(), C, AppDir),
- rebar_prv_compile:compile(S, AppInfo).
+ rebar_prv_compile:compile(S, [], AppInfo).
plugin_providers({Plugin, _, _}) when is_atom(Plugin) ->
validate_plugin(Plugin);