forked from fhunleth/relsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
90 lines (72 loc) · 1.68 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
84
85
86
87
88
89
90
{project_plugins, [
erlfmt,
% provider_asn1 does not handle umbrella projects yet:
% https://github.com/knusbaum/provider_asn1/issues/8
{provider_asn1, "0.2.3"}
]}.
{provider_hooks, [
{pre, [
{compile, {asn, compile}},
{ct, escriptize}
]},
{post, [
{clean, {asn, clean}}
]}
]}.
{alias, [
{check, [
dialyzer,
{ct, "-c --sname t"},
{cover, "-v --min_coverage=40"}
]}
]}.
{erlfmt, [
write,
verbose,
{files, [
"apps/*/{src,include,test}/*.{hrl,erl}",
"test/*.{hrl,erl}",
"apps/*/rebar.config",
"rebar.config"
]}
]}.
{deps, []}.
{profiles, [
{release, [
{deps, [getopt]},
{erl_opts, [no_debug_info, deterministic]}
]},
{test, [
{deps, [getopt, {erlware_commons, "1.6.0"}]}
]}
]}.
{erl_opts, [debug_info]}.
{dialyzer, [
{exclude_mods, [rebar3_relsync_prv]},
{warnings, [no_return, error_handling]},
{plt_apps, top_level_deps},
{plt_extra_apps, []},
{plt_location, local},
{base_plt_apps, [erts, stdlib, kernel]},
{base_plt_location, global}
]}.
{erlc_compiler, [{recursive, false}]}.
{escript_incl_apps, [getopt, relsync, relsync_lib]}.
{escript_name, relsync}.
{escript_main_app, relsync}.
{escript_emu_args, "%%! +sbtu +A0 -noinput -noshell -mode minimal\n"}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{xref_ignores, [rebar3_relsync_prv]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{cover_excl_mods, [rebar3_relsync_prv]}.
{dist_node, [
{sname, 'node'}
]}.