summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@hijacked.us>2010-11-21 15:40:14 -0500
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-11-21 21:58:57 +0100
commit2387a8e966b5211fbd5486845c49bd4e4beb21cf (patch)
treef7151c57ffa4888ddd06fa47858f4ef03173c4ac
parent064195dc5a90f5b0cc3ae92e8373671b0043033f (diff)
Document the pre and post script hooks
-rw-r--r--rebar.config.sample12
1 files changed, 12 insertions, 0 deletions
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