-
Notifications
You must be signed in to change notification settings - Fork 266
/
rebar.config
89 lines (80 loc) · 1.63 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
%% -*- mode: erlang; -*-
{minimum_otp_vsn, "21"}.
{erl_opts, [
fail_on_warning,
debug_info,
warn_unused_vars,
warn_unused_import,
warn_exported_vars
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
%% exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{project_plugins, [
erlfmt,
rebar3_ex_doc,
rebar3_proper
]}.
{erlfmt, [
write,
{print_width, 120},
{files, [
"{src,include,test}/*.{hrl,erl}",
"src/*.app.src",
"rebar.config"
]},
{exclude_files, [
"src/smtp_rfc5322_parse.erl",
"src/smtp_rfc5322_scan.erl",
"src/smtp_rfc822_parse.erl"
]}
]}.
{xref_ignores, [
{smtp_rfc822_parse, return_error, 2}
]}.
{deps, [
{ranch, ">= 1.8.0"}
]}.
{profiles, [
{dialyzer, [
{deps, [
{eiconv, "1.0.0"}
]},
{dialyzer, [
{plt_extra_apps, [
eiconv,
ssl
]},
{warnings, [
error_handling,
unknown
]}
]}
]},
{ranch_v2, [{deps, [{ranch, "2.1.0"}]}]},
{test, [
{cover_enabled, true},
{cover_print_enabled, true},
{deps, [
{eiconv, "1.0.0"},
{proper, "1.3.0"}
]}
]}
]}.
{ex_doc, [
{source_url, <<"https://github.com/gen-smtp/gen_smtp">>},
{prefix_ref_vsn_with_v, false},
{extras, [
{'README.md', #{title => "Overview"}},
{'LICENSE', #{title => "License"}}
]},
{main, <<"readme">>}
]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.