-
Notifications
You must be signed in to change notification settings - Fork 50
/
rebar.config
40 lines (33 loc) · 1.01 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
%% -*-erlang-*-
%% vim:ft=erlang:
{minimum_otp_vsn, "18.0"}.
{erl_opts, [debug_info,
report,
verbose,
warn_deprecated_function,
warn_deprecated_type,
warn_export_all,
warn_export_vars,
warn_obsolete_guard,
warn_untyped_record,
warn_unused_import]}.
%{dialyzer, [{warnings, [race_conditions,
% underspecs,
% unknown,
% unmatched_returns]}]}.
{xref_checks, [undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions]}.
{cover_enabled, true}.
{cover_print_enabled, true}.
{cover_export_enabled, true}.
{alias, [{check, [xref,
{eunit, "-c"},
{cover, "-v --min_coverage=75"},
dialyzer,
edoc]}]}.
{profiles,
[{test, [{extra_src_dirs, [{"test", [{recursive, true}]}]}]}
]}.