From 8f4e80b8273ff285c974396641fc6c998121c21e Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 5 Dec 2011 14:16:56 +0100 Subject: [PATCH] Update sample hooks config --- rebar.config.sample | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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"}]}.