-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
67 lines (57 loc) · 1.61 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
%%-*- mode: erlang -*-
{cover_enabled, true}.
{erl_opts, [debug_info, fail_on_warning,
{platform_define, "^[0-9]+", namespaced_types},
{parse_transform, lager_transform}]}.
{deps, [{lager, "3.9.2"},
recon,
folsom,
{jsx, "3.0.0"},
{dnssec, "0.1.2"},
iso8601,
{nodefinder, "2.0.0"},
{opentelemetry_api, "0.6.0"},
{meck, "0.9.2"}
]}.
{profiles, [{test, [{deps, [proper]}]}]}.
{project_plugins, [rebar3_format]}.
{format, [
{formatter, default_formatter},
{files, [
"src/**/*.?rl", "include/**/*.?rl"
]},
{options, #{
paper => 160,
ribbon => 150,
inline_attributes => none,
inline_qualified_function_composition => true}
}]
}.
{shell, [{apps, [ns]},
{config, "ns.config"}]}.
{relx, [{release, {erldns, "3.0.0"},
[erldns]},
{dev_mode, true},
{include_erts, false},
{sys_config, "ns.config"},
{overlay, [{copy, "priv/synrc.zone.json", "priv/example.zone.json"},
{copy, "priv/test.zones.json", "priv/test.zones.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}}
]}
]}
]
}
]}.