mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Update sample hooks config
This commit is contained in:
parent
8de2c84d89
commit
8f4e80b827
1 changed files with 4 additions and 1 deletions
|
@ -142,9 +142,12 @@
|
|||
%% == Pre/Post Command Hooks ==
|
||||
|
||||
{pre_hooks, [{clean, "./prepare_package_files.sh"},
|
||||
{compile, "escript generate_headers"}]}.
|
||||
{"linux", compile, "c_src/build_linux.sh"},
|
||||
{compile, "escript generate_headers"},
|
||||
{compile, "escript check_headers"}]}.
|
||||
|
||||
{post_hooks, [{clean, "touch file1.out"},
|
||||
{"freebsd", compile, "c_src/freebsd_tweaks.sh"},
|
||||
{eunit, "touch file2.out"},
|
||||
{compile, "touch postcompile.out"}]}.
|
||||
|
||||
|
|
Loading…
Reference in a new issue