Document the pre and post script hooks

This commit is contained in:
Andrew Thompson 2010-11-21 15:40:14 -05:00 committed by Tuncer Ayaz
parent 064195dc5a
commit 2387a8e966

View file

@ -8,6 +8,18 @@
%% Additional library directories to add to the code path %% Additional library directories to add to the code path
{lib_dirs, []}. {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 Compiler ==
%% Erlang files to compile before the rest. Rebar automatically compiles %% Erlang files to compile before the rest. Rebar automatically compiles