forked from dirs-dev/dirs-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
58 lines (52 loc) · 1.05 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
{erl_opts, [debug_info]}.
{deps, [
{lfe, "~> 2.2"}
]}.
{project_plugins, [
{rebar3_lfe, "~> 0.4"}
]}.
{provider_hooks, [
{pre, [{compile, {lfe, compile}}]}
]}.
{xref_checks,[
undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,deprecated_functions
]}.
{profiles, [
{test, [
{deps, [
{proper, "~> 1.3"},
{ltest, "~> 0.13"}
]},
{plugins, [
{rebar3_proper, "~> 0.12"}
]},
{eunit_opts, [verbose]},
{erl_opts, [{src_dirs, ["src", "test"]}]}
]},
{maintainer, [
{plugins, [rebar3_hex]}
]}
]}.
{alias, [
{coverage, [
{proper, "-c"},
{cover, "-v --min_coverage=0"}
]},
%% as test
{ltest, [
{lfe, ltest, "-tall"}
]},
{check, [
compile,
xref,
dialyzer,
ltest,
coverage
]},
%% The following should be run with `rebar3 as maintainer publish`:
{publish, [
compile,
{hex, "publish package"}
]}
]}.