From 2387a8e966b5211fbd5486845c49bd4e4beb21cf Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Sun, 21 Nov 2010 15:40:14 -0500 Subject: Document the pre and post script hooks --- rebar.config.sample | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rebar.config.sample b/rebar.config.sample index b5305c2..f963c30 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -8,6 +8,18 @@ %% Additional library directories to add to the code path {lib_dirs, []}. +%% Command to run before compiling +{compile_pre_script, "./script.sh"}. + +%% Command to run after compiling +{compile_post_script, "./script.sh"}. + +%% Command to run before cleaning +{clean_pre_script, "./script.sh"}. + +%% Command to run after cleaning +{clean_post_script, "./script.sh"}. + %% == Erlang Compiler == %% Erlang files to compile before the rest. Rebar automatically compiles -- cgit v1.1