forked from 0xYUANTI/krc
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrebar.config
More file actions
57 lines (50 loc) · 1.49 KB
/
rebar.config
File metadata and controls
57 lines (50 loc) · 1.49 KB
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
{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]},
{ct_opts, [{sys_config, "config/sys.test.config"}]},
{eunit_opts, [{sys_config, ["config/sys.test.config"]}]}
]}
]}.
{deps,
[ { stdlib2, {git, "https://github.com/kivra/stdlib2.git", {tag, "v1.4.6"}} }
, { riakc, {git, "https://github.com/kivra/riak-erlang-client.git", {tag, "2.5.7"}} }
%% Metrics
, { telemetry, "1.4.1" }
, { prometheus, "6.1.2" }
]}.
{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]},
{config, "config/sys.test.config"}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.