-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
59 lines (52 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
%% What dependencies we have, dependencies can be of 3 forms, an application
%% name as an atom, eg. mochiweb, a name and a version (from the .app file), or
%% an application name, a version and the SCM details on how to fetch it (SCM
%% type, location and revision).
%% Rebar currently supports git, hg, bzr, svn, rsync, fossil, and p4.
{deps, [
{jiffy,
{git, "https://github.com/davisp/jiffy.git", {branch, master}}},
{ej,
{git, "https://github.com/seth/ej.git", {branch, master}}},
{mochiweb,
{git, "https://github.com/mochi/mochiweb.git", {branch, master}}}
]}.
{recursive_cmds, [clean, eunit]}.
{lib_dirs, ["apps"]}.
%% == Dialyzer ==
{overrides,
[{override, jiffy, [
{plugins, [pc]},
{artifacts, ["priv/jiffy.so"]},
{provider_hooks, [
{post,
[
{compile, {pc, compile}},
{clean, {pc, clean}}
]
}]
}
]}
]}.
{dialyzer,
[
%% Store PLT locally inside the project in .rebar (Default)
{plt_location, local},
%% Store PLT in custom directory
{plt_location, "custom_dir"},
%% Extra apps to include in the PLT
{plt_extra_apps, [app1, app2]},
{warnings, [unmatched_returns, error_handling]}
]}.
{relx, [{release, {warp_zone, "0.0.1"},
[warp_zone]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]}.
%% EUnit =======================================================================
{eunit_opts,
[no_tty,
{report, {eunit_progress, [colored, profile]}}]}.
%% This is a workaround until we can fix cover. What is wrong? Wish we knew.
%% {cover_enabled, true}.
%% {cover_print_enabled, true}.