forked from 0xYUANTI/krc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
52 lines (45 loc) · 1.32 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
{erl_opts, [ debug_info
, warnings_as_errors
, {platform_define, "^[0-9]+", namespaced_types}
, {platform_define, "^18", deprecated_now}
, warn_export_vars
, warn_unused_import
, warn_keywords
]}.
{dialyzer, [
{plt_apps, all_deps},
incremental,
{warnings, [unmatched_returns]}
]}.
{profiles, [
{test, [
{cover_enabled, true},
{cover_opts, [verbose]}
]}
]}.
{deps,
[ { stdlib2, {git, "git@github.com:kivra/stdlib2.git", {tag, "v1.4.6"}} }
, { riakc, {git, "git@github.com:kivra/riak-erlang-client.git", {tag, "2.5.4"}} }
%% Metrics
, { telemetry, "~> 1.2" }
, { prometheus, "4.10.0" }
]}.
{overrides,
[ {override, riakc,
[ {erl_opts, [ debug_info
, warnings_as_errors
, {platform_define, "^[0-9]+", namespaced_types}
, {platform_define, "(?=^[0-9]+)(?!^17)", deprecated_now}
, {platform_define, "^(19|[2-9])", deprecated_19}
]}
]},
{override, hamcrest, [ {plugins, []} ]}
]}.
{shell, [{apps, [krc]}]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.