-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrebar.config
More file actions
137 lines (114 loc) · 2.63 KB
/
rebar.config
File metadata and controls
137 lines (114 loc) · 2.63 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
%% == Erlang Compiler ==
{erl_opts, [
warn_unused_vars,
% warnings_as_errors,
% warn_export_all,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_bif_clash,
warn_unused_record,
warn_deprecated_function,
warn_obsolete_guard,
strict_validation,
warn_export_vars,
warn_exported_vars,
%% warn_missing_spec,
%% warn_untyped_record,
debug_info,
{parse_transform, lager_transform}
]}.
%% == Dependencies ==
{deps, [
%% logging handler
{lager, "3.2.4"},
%% uuid lib
{uuid, {pkg, uuid_erl}},
{jsx, "2.8.1"},
{jsone, "1.4.5"},
%% rocksdb backend
{rocksdb, "0.13.1"},
{gproc, "0.6.1"},
{hooks, "2.0.1"},
{jsx, "2.8.1"}
]}.
{eunit_opts, [{dir, "src"}]}.
%% == Release ==
{relx, [
{release, {'barrel', "0.8.2"}, [barrel]},
{sys_config, "config/sys.config"},
{dev_mode, true},
{include_erts, false},
{include_src, false},
{extended_start_script, true}
]}.
%% == Profiles ==
{profiles,
[{prod,
[{relx,
[{sys_config, "./config/sys.config"},
{vm_args, "config/vm.args"},
{dev_mode, false},
{include_erts, true},
{extended_start_script, true},
{include_src, false},
{extended_start_script, true}
]}
]},
{eqc,
[{src_dirs, ["src","eqc"]},
{deps, [
{uuid, {git, "git://github.com/okeuday/uuid.git", {tag, "v1.5.2-rc1"}}},
{sync, {git, "git://github.com/rustyio/sync.git", {branch, "master"}}}
]},
{erl_opts,[ {parse_transform, eqc_cover},
{parse_transform, lager_transform}
]},
{sasl, [
{sasl_error_logger, false}
]}]}
]}.
%% == Common Test ==
{ct_compile_opts, [
warn_unused_vars,
warn_export_all,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_bif_clash,
warn_unused_record,
warn_deprecated_function,
warn_obsolete_guard,
strict_validation,
warn_export_vars,
warn_exported_vars,
%%warn_missing_spec,
%%warn_untyped_record,
debug_info,
{parse_transform, lager_transform}
]}.
{ct_opts, [
% {sys_config, ["config/test.config"]}
]}.
%% == Cover ==
{cover_enabled, true}.
{cover_opts, [verbose]}.
%% == Dialyzer ==
%%
{dialyzer, [
{warnings, [
race_conditions,
no_return,
unmatched_returns,
error_handling%,
%unknown
]},
{plt_apps, top_level_deps},
{plt_extra_apps, []},
{plt_location, local},
{plt_prefix, "barrel"},
{base_plt_location, "."},
{base_plt_prefix, "barrel"}
]}.