summaryrefslogtreecommitdiff
path: root/inttest/depplugins/testplugin_mod.erl
diff options
context:
space:
mode:
Diffstat (limited to 'inttest/depplugins/testplugin_mod.erl')
-rw-r--r--inttest/depplugins/testplugin_mod.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/inttest/depplugins/testplugin_mod.erl b/inttest/depplugins/testplugin_mod.erl
new file mode 100644
index 0000000..055bbc7
--- /dev/null
+++ b/inttest/depplugins/testplugin_mod.erl
@@ -0,0 +1,6 @@
+-module(testplugin_mod).
+-compile(export_all).
+
+pre_compile(Config, _) ->
+ ok = file:write_file("pre.compile", <<"Yadda!">>),
+ rebar_log:log(info, "Wrote ~p/pre.compile~n", [rebar_utils:get_cwd()]).