1
- % % Erlang compiler options
2
1
{erl_opts , [debug_info ]}.
3
2
4
- % % Whether to enable coverage reporting. Default is `false'
5
- {cover_enabled , true }.
3
+ {deps , [
4
+ {lfe , {git , " https://github.com/rvirding/lfe" , {branch , " develop" }}},
5
+ {poolboy , {git , " https://github.com/devinus/poolboy" , {tag , " 1.5.2" }}}
6
+ ]}.
6
7
7
- % % Dependencies
8
- {deps ,
9
- [
10
- {poolboy , " .*" ,
11
- {git , " https://github.com/devinus/poolboy.git" , {tag , " 1.5.2" }}}
12
- ]
13
- }.
8
+ {provider_hooks , [
9
+ {pre , [
10
+ {compile , {lfe , compile }}
11
+ ]}
12
+ ]}.
13
+
14
+ {xref_checks , [
15
+ undefined_function_calls , undefined_functions , locals_not_used ,
16
+ deprecated_function_calls , deprecated_functions
17
+ ]}.
18
+
19
+ {dialyzer , [
20
+ {warnings , [unknown ]}
21
+ ]}.
22
+
23
+ {profiles , [
24
+ {test , [
25
+ {deps , [
26
+ {proper , {git , " https://github.com/proper-testing/proper" , {tag , " v1.3" }}},
27
+ {ltest , {git , " https://github.com/lfex/ltest" , {tag , " 0.11.0" }}}
28
+ ]},
29
+ {plugins , [
30
+ {rebar3_proper , {git , " https://github.com/ferd/rebar3_proper" , {tag , " 0.12.0" }}}
31
+ ]},
32
+ {eunit_opts , [verbose ]},
33
+ {erl_opts , [
34
+ {src_dirs , [" src" , " test" ]}
35
+ ]}
36
+ ]}
37
+ ]}.
38
+
39
+ {alias , [
40
+ {repl , [
41
+ compile ,
42
+ {lfe , repl }
43
+ ]},
44
+ {ltest , [
45
+ compile ,
46
+ {lfe , ltest }
47
+ ]},
48
+ {coverage , [
49
+ {proper , " -c" },
50
+ {cover , " -v --min_coverage=0" }
51
+ ]},
52
+ {check , [
53
+ compile ,
54
+ xref ,
55
+ % dialyzer,
56
+ {lfe , ltest },
57
+ coverage
58
+ ]}
59
+ ]}.
0 commit comments