-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
88 lines (83 loc) · 2.32 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
{erl_opts,[
native
,{hipe, o3}
,fail_on_warning
]
}.
{deps, [
%{cowlib, {git, "https://github.com/ninenines/cowlib", {tag, "1.0.0"}}},
% {ranch, {git, "https://github.com/ninenines/ranch", {tag, "1.0.0"}}},
{cowboy, {git, "https://github.com/ninenines/cowboy", {tag,"2.12.0"}}},
{jsx, {git, "https://github.com/talentdeficit/jsx", {branch, "v3.1.0"}}},
{goanna, {git, "https://github.com/ruanpienaar/goanna", {branch, "master"}}},
{gproc, {git, "https://github.com/uwiger/gproc", {branch, "master"}}},
{cluster_report, {git, "https://github.com/ruanpienaar/cluster_report", {branch, "master"}}},
{spike, {git, "https://github.com/ruanpienaar/spike", {branch, "master"}}},
{erlang_testing, {git, "https://github.com/ruanpienaar/erlang_testing", {branch, "master"}}}
]}.
{edoc_opts, [{doclet, edown_doclet}]}.
{cover_enabled, true}.
{cover_print_enabled, true}.
{eunit_opts, [verbose]}.
{eunit_compile_opts, [{i, "../"}]}.
% Dialyzer
{dialyzer, [
{warnings, [
% underspecs, no_return
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, all_deps}, % top_level_deps | all_deps
{plt_extra_apps, [cluster_report, spike, hawk, goanna]},
{plt_location, local}, % local | "/my/file/name"
{plt_prefix, "rebar3"},
{base_plt_apps, [kernel, stdlib]},
{base_plt_location, global}, % global | "/my/file/name"
{base_plt_prefix, "rebar3"}
]}.
% Release
{relx, [{release, { crell_rel, "0.0.1"},
[
%% OTP
%wx,
%observer,
runtime_tools,
sasl,
mnesia,
%% APP
spike,
gproc,
hawk,
goanna,
jsx,
eper,
ranch,
cowlib,
cowboy,
tools, % xref
crell_web,
crell_crawl,
crell
]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{vm_args, "config/vm.args"},
{sys_config, "config/sys.config"}
]
}.