-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
83 lines (76 loc) · 1.45 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{erl_opts, [
{parse_transform, lager_transform}
]}.
{xref_checks,[
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles, [
{prod, [
{relx, [
{release, {"rr", "1.0.3"}, [rr]},
{dev_mode, false},
{include_erts, true}
]}
]},
{devel, [
{relx, [
{release, {"rr", "1.0.3"}, [rr, fs_sync]},
{dev_mode, true},
{include_erts, false}
]},
{erl_opts, [
debug_info,
warn_export_all,
warn_export_vars,
warn_shadow_vars,
warn_obsolete_guard
]},
{deps, [fs_sync]}
]}
]}.
{relx, [
{extended_start_script, true},
{vm_args, "config/vm.args"},
{sys_config, "config/sys.config"}
]}.
{plugins, [rebar3_hex]}.
{dialyzer, [
{warnings, [
% no_return,
% no_unused,
% no_improper_lists,
% no_fun_app,
% no_match,
% no_opaque,
% no_fail_call,
% no_contracts,
% no_behaviours,
% no_undefined_callbacks,
% unmatched_returns,
% error_handling,
% race_conditions,
% overspecs,
% underspecs,
% specdiffs
]},
{get_warnings, true},
{plt_apps, top_level_deps},
{plt_extra_apps, [
cowlib, ranch, fs_sync, fs_event, cowboy, goldrush, lager
]},
{plt_location, local},
{plt_prefix, "reachme"},
{base_plt_apps, [
erts, kernel, stdlib, crypto, mnesia, asn1, compiler, eunit, hipe, inets, public_key, runtime_tools, ssl, syntax_tools, tools, edoc
]},
{base_plt_location, global},
{base_plt_prefix, "global"}
]}.
{deps, [
{cowboy, "2.0.0"},
lager
]}.