-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
45 lines (38 loc) · 1.41 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
%%%-----------------------------------------------------------------------------
%%% Copyright (C) 2019 Cursor Insight
%%%
%%% All rights reserved.
%%%-----------------------------------------------------------------------------
% Basic runtime environment options
{erl_opts, [debug_info, warnings_as_errors]}.
{minimum_otp_vsn, "21.0"}.
% Dependencies
{deps, []}.
% Release specification
{relx, [{release, {sonar_erlang_example, git},
[sonar_erlang_example, sasl]},
{dev_mode, false},
{include_erts, true},
{include_src, false},
{extended_start_script, true}]}.
% Checks performed by `xref' as described here:
% http://erlang.org/doc/man/xref.html#analyze-2
%
% `exports_not_used' check produces a lot of false positives on calls
% incorporating `erlang:apply/3' and co. Uncomment it wisely.
{xref_checks, [undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions]}.
% Checks performed by `dialyzer' as described here:
% http://erlang.org/doc/man/dialyzer.html
%
% `all_deps' strategy determines to include all nested applications in the
% generated PLT file.
{dialyzer, [{warnings, [unknown,
unmatched_returns]},
{plt_apps, all_deps}]}.
% Enable code coverage in `eunit' and `CT' tests.
{cover_enabled, true}.