rebar/inttest/thooks/rebar.config
Tim Watson e76770511a Add pre and post script support for all commands
This change makes it possible to assign pre/post scripts to all
rebar commands. This allows users fine grained control over
when scripts and/or shell commands should be executed, where such
extensions are absolutely needed.

Several examples have been added to the rebar.config.sample file.
2011-03-12 16:31:41 +01:00

7 lines
274 B
Erlang

%% pre-scripts
{pre_hooks, [{clean, "echo preclean >> preclean.out"},
{compile, "echo precompile >> precompile.out"}]}.
%% post-scripts
{post_hooks, [{clean, "echo postclean >> postclean.out"},
{compile, "echo postcompile >> postcompile.out"}]}.