This repository has been archived by the owner on Apr 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
78 lines (67 loc) · 1.56 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
%% -*- erlang -*-
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files,
[
"ct.coverdata",
"eunit.coverdata"
]}]
}.
{cover_excl_mods, [
libp2p_identify_pb
]}.
{deps, [
lager,
{gpb, "4.2.1"},
{multiaddr, "1.1.3"},
{acceptor_pool, "1.0.0"},
{libp2p_crypto, "1.0.1"}
]}.
{erl_opts, [
{parse_transform, lager_transform},
{i, "./_build/default/plugins/gpb/include"},
warn_untyped_records,
debug_info,
warnings_as_errors
]}.
{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
]}.
{plugins, [rebar3_gpb_plugin,
covertool]}.
{shell, [{apps, [lager]}]}.
{dialyzer, [
{warnings, [unknown]},
{plt_apps,all_deps}
]}.
{xref_checks,[
undefined_function_calls,
undefined_functions, %locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles,
[
{test, [
{erl_opts, [nowarn_export_all, export_all]},
{deps,
[
cth_readable,
meck
]}
]}
]}.