forked from basho/riak_core
-
Notifications
You must be signed in to change notification settings - Fork 13
/
rebar.config
64 lines (44 loc) · 1.14 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
%% Add debug information in compiled code for other tools like debuggers, code coverage tools, or analysis tools
{erl_opts, [debug_info]}
.
{deps,
% worker pool library
[poolboy]}
.
%% Defensive xref configuration
{xref_checks,
[undefined_function_calls,
locals_not_used,
deprecated_function_calls]}
.
%% Code formatter
{project_plugins,
[rebar3_format, rebar3_lint, rebar3_proper]}
.
{format, [{formatter, otp_formatter}]}
.
%%-------------------------------------------------------------------
%% Profiles
%%-------------------------------------------------------------------
{profiles,
[{test,
[{extra_src_dirs, [{"test", [{recursive, true}]}]},
{erl_opts, [nowarn_export_all]},
{plugins, [coveralls]},
{deps, [meck]}]},
{proper,
[{extra_src_dirs, [{"test", [{recursive, true}]}]},
{erl_opts,
[nowarn_export_all, {d, 'PROPER'}, {d, 'TEST'}]},
{plugins, [coveralls]},
{deps, [meck, {proper, "1.4.0"}, recon]}]},
{docs, [{deps, [{edown, "0.7.0"}]}]}]}
.
{cover_enabled, true}
.
{cover_export_enabled, true}
.
{coveralls_coverdata, "_build/test/cover/*.coverdata"}
.
{coveralls_service_name, "github"}
.