-
Notifications
You must be signed in to change notification settings - Fork 12
/
rebar.config
52 lines (48 loc) · 2.28 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{erl_opts , [ warnings_as_errors
, debug_info
]}.
{cover_enabled , true}.
{deps , [ {getopt, "v0.8.2"}
, {jsx, "2.8.0"}
, {mustache, {git, "https://github.com/mojombo/mustache.erl.git", {tag, "v0.1.1"}}}
, {yamerl, "v0.6.0"}
]}.
{plugins , [covertool, rebar3_proper]}.
{cover_export_enabled , true}.
{covertool_eunit , {"eunit.coverdata", "eunit.coverage.xml"}}.
{covertool_ct , {"ct.coverdata", "ct.coverage.xml"}}.
{eunit_opts , [{report, {eunit_surefire, [{dir, "_build"}]}}]}.
{xref_checks , [ undefined_function_calls
, undefined_functions
, locals_not_used
, deprecated_function_calls
, deprecated_functions
]}.
{dialyzer, [ {warnings, [unknown]}
]}.
%% The pre/post test hooks will setup a local bitbucket instance to
%% test against This has only been verified to work on Linux.
{pre_hooks, [{"linux", proper, "scripts/pre-test-hook.sh"}]}.
{profiles , [ {prod, [ {relx, [ {dev_mode, false}, {include_erts, true}]}]}
, {test, [ { erl_opts, [ nowarn_export_all
, nowarn_missing_spec_all
]
}
, { deps
, [ {meck, "0.8.12"}
, {proper, {git, "https://github.com/proper-testing/proper.git", {tag, "v1.3"}}}
, {proper_contrib, "0.3.2"}
, {redbug, "1.2.1"}
, {elvis_core, "0.4.2"}
]
}
, { pre_hooks
, [ { compile
, "erl -pa _build/test/lib/*/ebin -noshell -eval 'init:stop(case elvis_core:rock() of ok -> 0; _ -> 1 end)'"
}
]
}
]
}
]}.
{minimum_otp_vsn, "23"}.