-
Notifications
You must be signed in to change notification settings - Fork 72
/
rebar.config
39 lines (31 loc) · 1.47 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
%% -*- erlang -*-
{erl_opts, [warnings_as_errors,
warn_export_all,
warn_untyped_record,
inline,
{platform_define, "^R[01][0-9]", 'NO_MAP_TYPE'},
{platform_define, "^(R|17)", 'NO_DIALYZER_SPEC'}]}.
{xref_checks, [fail_on_warning, undefined_function_calls]}.
{clean_files, [".eunit/*", "ebin/*.beam"]}.
{cover_enabled, true}.
{edoc_opts, [{dialyzer_specs, all},
{report_missing_type, true},
{report_type_mismatch, true},
{pretty_print, erl_pp},
{preprocess, true}]}.
{validate_app_modules, true}.
{shell, [{apps, [jsone]}]}.
{dialyzer, [{warnings, [error_handling, unmatched_returns, unknown, no_improper_lists]}]}.
{profiles, [{native, [{erl_opts, [{d, 'ENABLE_HIPE'}]}]},
{test, [{erl_opts, [warnings_as_errors,
warn_export_all,
warn_untyped_record,
inline,
{platform_define, "^R[01][0-9]", 'NO_MAP_TYPE'},
{platform_define, "^(R|17)", 'NO_DIALYZER_SPEC'},
{d, 'MAP_ITER_ORDERED'},
{d, 'TIME_MODULE', test_time_module}]}]},
{edown, [{edoc_opts, [{doclet, edown_doclet}]}, {deps, [edown]}]}]}.
{project_plugins, [covertool, rebar3_efmt]}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata", "eunit.coverdata"]}]}.