summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-12-05 14:16:56 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-12-05 14:17:36 +0100
commit8f4e80b8273ff285c974396641fc6c998121c21e (patch)
tree7faaf282031d1a0a9a77a2e0c0363abf8c25f797
parent8de2c84d89acab7702825d4fb784d414225902d7 (diff)
Update sample hooks config
-rw-r--r--rebar.config.sample5
1 files changed, 4 insertions, 1 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index 0482141..23c3c70 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -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"}]}.