-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrebar.config
64 lines (48 loc) · 1.7 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
{erl_opts,
[warn_unused_import,
warn_export_vars,
warnings_as_errors,
verbose,
report,
debug_info,
{i, "./_build/default/plugins/gpb/include"}]}.
{deps, [{jiffy, "1.1.1"}, {erlexec, "1.10.9"}]}.
{minimum_otp_version, 25}.
{plugins, [{rebar3_gpb_plugin, "2.23.1"}]}.
{project_plugins,
[{rebar3_hex, "~> 7.0.7"},
{rebar3_format, "~> 1.3.0"},
{rebar3_lint, "~> 3.2.3"},
{rebar3_hank, "~> 1.4.0"},
{rebar3_ex_doc, "~> 0.2.22"}]}.
{gpb_opts,
[{i, "priv/proto"},
{module_name_suffix, "_pb"},
{o_erl, "src"},
{o_hrl, "include"},
{strings_as_binaries, true},
type_specs]}.
{provider_hooks, [{pre, [{compile, {protobuf, compile}}, {clean, {protobuf, clean}}]}]}.
{dialyzer,
[{warnings, [unknown, no_return, error_handling, missing_return, extra_return]},
{plt_apps, top_level_deps},
{plt_extra_apps, []},
{plt_location, local},
{base_plt_apps, [erts, stdlib, kernel]},
{base_plt_location, global}]}.
{xref_checks, [undefined_function_calls, locals_not_used, deprecated_function_calls]}.
{xref_ignores, [kpl_agg_pb]}.
{cover_enabled, true}.
{alias, [{test, [format, lint, hank, xref, dialyzer, eunit, {cover, "--verbose"}]}]}.
{format, [{ignore, ["src/kpl_agg_pb.erl", "include/kpl_agg_pb.hrl"]}]}.
%% The options for this app are converted to a map in erlmdl_app and then
%% dynamically replaced in an .properties file. We can't detect unused
%% configuration options. They're technically all used.
{hank,
[{ignore, ["src/kpl_agg_pb.erl", "include/kpl_agg_pb.hrl", "src/erlmld.app.src"]}]}.
{depup, [{ignore, [erlexec]}]}.
{hex, [{doc, ex_doc}]}.
{ex_doc,
[{source_url, <<"https://github.com/AdRoll/erlmld">>},
{extras, [<<"README.md">>, <<"LICENSE">>]},
{main, <<"readme">>}]}.