-
Notifications
You must be signed in to change notification settings - Fork 6
/
rebar.config
55 lines (47 loc) · 1.11 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
46
47
48
49
50
51
52
53
54
55
{minimum_otp_vsn, "21"}.
{erl_opts,
[warn_missing_doc, warn_missing_spec, warn_unused_import,
warn_export_vars, verbose, report, debug_info
]}.
{deps, [
{telemetry, "1.3.0"}
]}.
{project_plugins, [
{rebar3_hex, "7.0.8"},
{rebar3_ex_doc, "0.2.23"},
{covertool, "2.0.7"}
]}.
{covertool, [
{coverdata_files, ["ct.coverdata"]}
]}.
{profiles, [
{test, [
{erl_opts, []},
{cover_enabled, true},
{cover_export_enabled, true},
{cover_opts, [verbose]},
{deps, [{proper, "1.4.0"}]}
]},
{prod, [
{erl_opts, [inline_list_funcs, deterministic]}
]}
]}.
%% take out warnings for unused exported functions
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{ex_doc, [
{source_url, <<"https://github.com/esl/segmented_cache">>},
{main, <<"readme">>},
{extras, [{'README.md', #{title => <<"Overview">>}},
{'design_notes.md', #{title => <<"Design Notes">>}},
{'LICENSE', #{title => <<"License">>}}
]}
]}.