forked from helium/erlang-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
87 lines (77 loc) · 1.92 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
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files,
[
"ct.coverdata",
"eunit.coverdata"
]}]
}.
{cover_excl_mods, [
libp2p_identify_pb,
libp2p_peer_pb,
libp2p_ack_stream_pb,
libp2p_gossip_pb,
libp2p_relay_pb,
libp2p_proxy_pb
]}.
{deps, [
lager,
{ranch, "1.5.0"},
{libp2p_crypto, "1.4.1"},
{nat, ".*", {git, "https://github.com/benoitc/erlang-nat", {branch, "master"}}},
{backoff, "1.1.6"},
{throttle, "0.2.0", {pkg, lambda_throttle}},
{cuttlefish, ".*", {git, "https://github.com/helium/cuttlefish", {branch, "develop"}}},
{inet_ext, ".*", {git, "https://github.com/benoitc/inet_ext", {branch, "master"}}},
{splicer, "0.5.4"},
{relcast, ".*", {git, "https://github.com/helium/relcast.git", {branch, "master"}}},
{erbloom, ".*", {git, "https://github.com/Vagabond/erbloom", {branch, "master"}}}
]}.
{erl_opts, [
{parse_transform, lager_transform},
{i, "./_build/default/plugins/gpb/include"},
warn_untyped_records,
debug_info,
warnings_as_errors
]}.
{plugins, [{rebar3_gpb_plugin, "2.15.0"},
covertool]}.
{provider_hooks, [
{pre, [
{compile, {protobuf, compile}},
{clean, {protobuf, clean}}
]}
]}.
{gpb_opts, [
{i, "src"},
{o_erl, "src/pb"},
{o_hrl, "src/pb"},
{msg_name_prefix, "libp2p_"},
{msg_name_suffix, "_pb"},
{module_name_suffix, "_pb"},
{strings_as_binaries, false},
type_specs
]}.
{shell, [{apps, [lager, ranch]}]}.
{dialyzer, [
{warnings, [unknown]},
{plt_apps,all_deps}
]}.
{xref_checks,[
undefined_function_calls,
undefined_functions, %locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles, [
{test, [
{deps, [
cth_readable,
meck
]}
]}
]}.
{edoc_opts, [
{dir, "gh_pages/"}
]}.