-
Notifications
You must be signed in to change notification settings - Fork 3
/
rebar.config
55 lines (42 loc) · 926 Bytes
/
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
{require_min_otp_vsn, "18"}.
{erl_opts, [
debug_info,
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
{platform_define, "^[0-9]+", namespaced_dicts},
{platform_define, "^(19|2)", rand_only},
{platform_define, "^(R|1|20)", fun_stacktrace}
]
}.
{deps, [
]}.
{pre_hooks, [
{"(linux|darwin|solaris)", compile, "make -C c_src"},
{"(freebsd)", compile, "gmake -C c_src"}
]}.
{post_hooks, [
{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd)", clean, "gmake -C c_src clean"}
]}.
{profiles, [
{test, [
{deps, [
]},
{eunit_opts, [
verbose
]},
{xref_checks, [
undefined_function_calls,
locals_not_used,
deprecated_function_calls
]},
{xref_ignores, [
]},
{dialyzer, [
{warnings, [
no_unused
]}
]}
]}
]}.