Browse Source

Document the pre and post script hooks

pull/3/head
Andrew Thompson 14 years ago
committed by Tuncer Ayaz
parent
commit
2387a8e966
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      rebar.config.sample

+ 12
- 0
rebar.config.sample View File

@ -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

Loading…
Cancel
Save