summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config.sample')
-rw-r--r--rebar.config.sample8
1 files changed, 6 insertions, 2 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index f963c30..184c16d 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -1,4 +1,4 @@
-%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
+%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
%% This is a sample rebar.conf file that shows examples of some of rebar's
%% options.
@@ -31,7 +31,8 @@
{erl_opts, [{i, "myinclude"}, {src_dirs, ["src1", "src2"]},
{platform_define,
"(linux|solaris|freebsd|darwin)", 'HAVE_SENDFILE'},
- {platform_define, "(linux|freebsd)", 'BACKLOG', 128}]}.
+ {platform_define, "(linux|freebsd)", 'BACKLOG', 128},
+ {platform_define, "R13", 'old_inets'}]}.
%% MIB Options?
{mib_opts, []}.
@@ -85,6 +86,9 @@
%% Additional compile options for eunit. erl_opts from above is also used
{eunit_compile_opts, []}.
+%% Same as erl_first_files, but used only when running 'eunit'
+{eunit_first_files, []}.
+
%% Whether to enable coverage reporting. Default is `false'
{cover_enabled, false}.