Skip to content

Commit

Permalink
Update sample hooks config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuncer Ayaz committed Dec 5, 2011
1 parent 8de2c84 commit 8f4e80b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rebar.config.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]}.

Expand Down

0 comments on commit 8f4e80b

Please sign in to comment.