summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-09 13:58:32 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-09 14:04:53 +0200
commit99b645e4a3d57aba031487f56c4acfb7bf05fa16 (patch)
treebd7e1dd314c6b4e5cecad7130252871ef9ce66ac /rebar.config.sample
parent803f6e8ecd6ef2e40e97cce6b514dd44279cd0f9 (diff)
downloadrebar-99b645e4a3d57aba031487f56c4acfb7bf05fa16.tar.gz
Separate eunit and qc compile options
Diffstat (limited to 'rebar.config.sample')
-rw-r--r--rebar.config.sample21
1 files changed, 14 insertions, 7 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index 4243924..bc4bc50 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -22,13 +22,6 @@
{platform_define, "(linux|freebsd)", 'BACKLOG', 128},
{platform_define, "R13", 'old_inets'}]}.
-%% Additional compile options for test-compile. erl_opts is also used
-{test_compile_opts, []}.
-
-%% Same as erl_first_files, but used only when running 'test-compile', 'eunit',
-%% or 'qc'
-{test_first_files, []}.
-
%% MIB Options?
{mib_opts, []}.
@@ -72,6 +65,14 @@
%% Options for eunit:test()
{eunit_opts, []}.
+%% Additional compile options for eunit. erl_opts is also used
+{eunit_compile_opts, []}.
+
+%% Same as erl_first_files, but used only when running 'eunit'
+{eunit_first_files, []}.
+
+%% == Cover ==
+
%% Whether to enable coverage reporting. Default is `false'
{cover_enabled, false}.
@@ -100,6 +101,12 @@
%% If qc_mod is unspecified, rebar tries to detect Triq or EQC
{qc_opts, [{qc_mod, module()}, Options]}.
+%% Additional compile options for qc. erl_opts is also used
+{qc_compile_opts, []}.
+
+%% Same as erl_first_files, but used only when running 'qc'
+{qc_first_files, []}.
+
%% == Cleanup ==
%% Which files to cleanup