rebar/inttest/depplugins/dep_cwd_plugin.erl

8 lines
246 B
Erlang
Raw Normal View History

-module(dep_cwd_plugin).
-export([pre_compile/2]).
pre_compile(_, _) ->
File = "dep_cwd_pre.compile",
ok = file:write_file(File, <<"dep cwd pre_compile plugin">>),
rebar_log:log(info, "Wrote ~p/~s~n", [rebar_utils:get_cwd(), File]).