-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrebar.config
103 lines (91 loc) · 3.03 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{cover_export_enabled, true}.
{cover_enabled, true}.
{deps, [
{lager, "3.9.2"},
{throttle, "0.3.0", {pkg, lambda_throttle}},
{prometheus, "4.9.0"},
{jsx, "3.1.0"},
{recon, "2.5.2"},
{elli, "3.3.0"},
{observer_cli, "1.7.3"},
{gproc, "0.9.0"},
{backoff, "1.1.6"},
{clique, ".*", {git, "https://github.com/helium/clique.git", {branch, "develop"}}},
{grpcbox, {git, "https://github.com/novalabsxyz/grpcbox.git", {branch, "adt/immediate-sends"}}},
{hackney, "1.17.0"},
{aws, {git, "https://github.com/aws-beam/aws-erlang.git", {tag, "0.7.1"}}},
{aws_credentials, {git, "https://github.com/aws-beam/aws_credentials.git", {tag, "0.1.9"}}},
{helium_proto, {git, "https://github.com/helium/proto.git", {branch, "master"}}},
{erlang_lorawan, {git, "https://github.com/helium/erlang-lorawan.git", {branch, "master"}}},
{libp2p_crypto, {git, "https://github.com/helium/libp2p_crypto.git", {tag, "v1.5.2"}}},
{iso8601, ".*", {git, "https://github.com/erlsci/iso8601.git", {tag, "1.3.1"}}},
{xxhash, {git, "https://github.com/pierreis/erlang-xxhash", {branch, "master"}}},
{erl_angry_purple_tiger,
{git, "https://github.com/helium/erl_angry_purple_tiger.git", {branch, "master"}}},
{h3, ".*", {git, "https://github.com/helium/erlang-h3.git", {branch, "master"}}}
]}.
{erl_opts, [
debug_info,
{parse_transform, lager_transform},
warnings_as_errors
]}.
{plugins, [
{grpcbox_plugin,
{git, "https://github.com/novalabsxyz/grpcbox_plugin.git",
{branch, "andymck/ts-master/combined-opts-and-template-changes"}}},
{rebar3_format, "1.2.1"},
{erlfmt, "1.0.0"}
]}.
{pre_hooks, []}.
{format, [
{ignore, ["src/grpc/autogen/**/*"]},
{files, [
"rebar.config",
"{src,include,test}/**/*.{hrl,erl,app.src}",
"config/{sys,ct,grpc_server_gen}.{config,config.src}"
]},
{formatter, erlfmt_formatter},
{options, #{print_width => 100, ignore_pragma => true}}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used
]}.
{xref_ignores, [
iot_config_pb,
packet_router_pb,
downlink_pb,
multi_buy_pb
]}.
{relx, [
{release, {hpr, semver}, [hpr, runtime_tools, tools, recon]},
{vm_args, "config/vm.args"},
{sys_config_src, "config/sys.config.src"},
{include_src, false},
{include_erts, true},
{overlay, [
{copy, "deb/local.conf", "etc/local.conf"},
{copy, "./scripts/extensions/config", "bin/extensions/config"},
{copy, "./scripts/extensions/info", "bin/extensions/info"},
{copy, "./scripts/extensions/trace", "bin/extensions/trace"}
]},
{generate_start_script, true},
{extended_start_script, true},
{extended_start_script_extensions, [
{config, "extensions/config"},
{info, "extensions/info"},
{trace, "extensions/trace"}
]}
]}.
{shell, [
{apps, [hpr]}
]}.
{profiles, [
{test, [
{deps, [
{meck, "0.9.2"}
]}
]}
]}.
{ct_opts, [{sys_config, "config/ct.config"}]}.