From 2f2c11ae70d788fd6da43592a87fa917243bfa92 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Sun, 17 May 2015 13:22:06 -0700 Subject: document `extra_src_dirs` --- rebar.config.sample | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rebar.config.sample b/rebar.config.sample index 10d277e..f6d27c8 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -13,7 +13,12 @@ %% Erlang compiler options {erl_opts, [no_debug_info, {i, "myinclude"}, + %% directories containing source files {src_dirs, ["src", "src2", "src3"]}, + %% extra_src_dirs are directories containing + %% source files that are NOT part of the + %% application itself + {extra_src_dirs, ["eunit", "ct"]}, {platform_define, "(linux|solaris|freebsd|darwin)", 'HAVE_SENDFILE'}, {platform_define, "(linux|freebsd)", 'BACKLOG', 128}, -- cgit v1.1