-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrebar.config
51 lines (39 loc) · 1.06 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
%% -*- mode: erlang -*-
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
{erl_opts, [
warnings_as_errors,
{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^(R|1|20)", fun_stacktrace},
warn_bif_clash,
warn_export_all,
warn_obsolete_guard,
warn_unused_import,
warn_unused_record,
warn_untyped_record,
warn_shadow_vars,
warn_unused_vars,
warn_export_vars,
warn_exported_vars,
warn_unused_function,
warn_deprecated_function,
strict_validation
]}.
{deps, [
{jiffy, ".*",
{git, "https://github.com/davisp/jiffy.git", {branch, "master"}}},
{meck, ".*",
{git, "https://github.com/eproxus/meck.git", {branch, "master"}}},
{envy, ".*",
{git, "https://github.com/manderson26/envy.git", {branch, "master"}}}
]}.
{profiles, [
{dev, [
{erl_opts, [nowarn_export_all]}
]},
{test, [
{erl_opts, [nowarn_export_all]}
]
}
]}.
{cover_enabled, true}.