summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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