-
Notifications
You must be signed in to change notification settings - Fork 49
/
rebar.config
48 lines (39 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
%% -*- mode:erlang -*-
{minimum_otp_vsn, "21.0"}.
{deps, [{jiffy, {git, "https://github.com/emqx/jiffy", {tag, "1.0.5"}}},
{eetcd, {git, "https://github.com/zhongwencool/eetcd", {tag, "v0.3.4"}}},
{snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe", {tag, "1.0.0"}}},
{mria, {git, "https://github.com/emqx/mria", {tag, "0.8.10"}}}
]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
warnings_as_errors,
debug_info,
compressed %% for edge
]}.
{validate_app_modules, true}.
{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions
]}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{dialyzer,
[{warnings, [unknown]},
{plt_extra_apps, [jiffy, mria]}
]}.
{profiles,
[{test,
[{plugins, [{coveralls, {git, "https://github.com/emqx/coveralls-erl", {branch, "github"}}}]},
{deps, [{meck, "0.8.13"},
{proper, "1.3.0"}
]},
{erl_opts, [debug_info]},
{src_dirs, ["src", "test/test_src"]}
]}
]}.
{ct_readable, true}.