Permalink
Browse files

Update sample hooks config

  • Loading branch information...
1 parent 8de2c84 commit 8f4e80b8273ff285c974396641fc6c998121c21e @tuncer tuncer committed Dec 5, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 rebar.config.sample
View
@@ -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"}]}.

0 comments on commit 8f4e80b

Please sign in to comment.