-
Notifications
You must be signed in to change notification settings - Fork 6
/
rebar.config
44 lines (36 loc) · 1.38 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
{erl_opts, [debug_info, nowarn_export_all]}.
{deps, [telemetry]}.
{shell, [{apps, [ecron]}]}.
{profiles, [{test, [{deps, [proper]}]}]}.
{project_plugins, [rebar3_proper, covertool, {rebar3_edoc_extensions, "1.5.0"}, rebar3_format, erlfmt]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_print_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["eunit.coverdata", "proper.coverdata", "ct.coverdata"]}]}.
{xref_warnings,true}.
{xref_extra_paths,[]}.
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,
deprecated_functions]}.
{edoc_opts, [{stylesheet, "stylesheet.css"},
{preprocess, true},
{includes, ["."]},
{sort_functions, false},
{doclet, edoc_doclet_chunks},
{layout, edoc_layout_chunks}]}.
{alias, [{check, [xref,
{eunit, "-c"},
{proper, "-c"},
{cover, "-v --min_coverage=75"},
%% FIXME: Dialyzer is only executed on the library by
%% default, not its testsuite. To run Dialyzer on the
%% test suites as well, the following command must be used:
%% rebar as test dialyzer
dialyzer,
edoc]}]}.
{format, [
{files, ["src/*.erl", "include/*.hrl"]},
{formatter, erlfmt_formatter}, %% The erlfmt formatter interface.
{options, #{print_width => 120, ignore_pragma => true}} %% ...or no options at all.
]}.