-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathrebar.config
38 lines (30 loc) · 1.06 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
%-*-Erlang-*-
{erl_opts, [debug_info]}.
{minimum_otp_vsn, "21.1"}.
{pre_hooks, [{compile, "escript dicts_compiler.erl compile"},
{clean, "escript dicts_compiler.erl clean"}]}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{project_app_dirs, ["applications/*", "src/*", "."]},
{deps, [{meck, "0.9.0"}]},
{plugins, [coveralls]}
]}
]}.
%% xref checks to run
{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
deprecated_functions]}.
{xref_ignores, [{prometheus_histogram, declare, 1},
{prometheus_histogram, observe, 3}]}.
%% == Cover ==
%% Whether to enable coverage reporting. Default is `false'
{cover_enabled, true}.
%% Whether to export coverage report to file. Default is `false'
{cover_export_enabled, true}.
%% == covervalls.io ==
{do_coveralls_after_ct, false}.
{do_coveralls_after_eunit, false}.
{coveralls_coverdata, "_build/test/cover/ct.coverdata"}.
{coveralls_service_name, "travis-ci"}.
{plugins, [rebar3_hex]}.