-
Notifications
You must be signed in to change notification settings - Fork 98
/
rebar.config
85 lines (73 loc) · 1.65 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
%%-*- mode: erlang -*-
{cover_enabled, true}.
{erl_opts, [
debug_info,
fail_on_warning,
{platform_define, "^[0-9]+", namespaced_types},
{parse_transform, lager_transform}
]}.
{project_plugins, [
erlfmt,
rebar3_depup
]}.
{deps, [
{lager, "3.9.2"},
recon,
folsom,
{jsx, "3.0.0"},
{dns_erlang, ".*", {git, "https://github.com/dnsimple/dns_erlang.git", {branch, "main"}}},
iso8601,
{nodefinder, "2.0.0"},
{opentelemetry_api, "0.6.0"},
{meck, "0.9.2"}
]}.
{profiles, [{test, [{deps, [proper]}]}]}.
{format, [
{formatter, default_formatter},
{files, [
"src/**/*.?rl", "include/**/*.?rl"
]},
{options, #{
paper => 160,
ribbon => 150,
inline_attributes => none,
inline_qualified_function_composition => true
}}
]}.
{depup, [{only, minor}]}.
{shell, [
{apps, [erldns]},
{config, "erldns.config"}
]}.
{relx, [
{release, {erldns, "3.0.0"}, [erldns]},
{dev_mode, true},
{include_erts, false},
{sys_config, "erldns.config"},
{overlay, [
{copy, "priv/zones-example.json", "priv/zones-example.json"},
{copy, "priv/zones-test.json", "priv/zones-test.json"}
]},
{extended_start_script, true}
]}.
%% This is a rebar3-ism
{overrides, [
{override, dns_erlang, [
{plugins, [
{provider_asn1, "0.2.3"}
]},
{provider_hooks, [
{pre, [
{compile, {asn, compile}}
]},
{post, [
{clean, {asn, clean}}
]}
]}
]}
]}.
{dialyzer, [{warnings, [no_unknown]}]}.
{erlfmt, [
write,
{print_width, 140}
]}.