summaryrefslogtreecommitdiff
path: root/inttest/depplugins/base_dir_cwd_plugin.erl
diff options
context:
space:
mode:
Diffstat (limited to 'inttest/depplugins/base_dir_cwd_plugin.erl')
-rw-r--r--inttest/depplugins/base_dir_cwd_plugin.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/inttest/depplugins/base_dir_cwd_plugin.erl b/inttest/depplugins/base_dir_cwd_plugin.erl
new file mode 100644
index 0000000..4953b8b
--- /dev/null
+++ b/inttest/depplugins/base_dir_cwd_plugin.erl
@@ -0,0 +1,7 @@
+-module(base_dir_cwd_plugin).
+-export([pre_compile/2]).
+
+pre_compile(_, _) ->
+ File = "base_dir_cwd_pre.compile",
+ ok = file:write_file(File, <<"base_dir cwd pre_compile plugin">>),
+ rebar_log:log(info, "Wrote ~p/~s~n", [rebar_utils:get_cwd(), File]).