-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
160 lines (147 loc) · 4.07 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{erl_opts, [
debug_info,
{platform_define, "(linux|solaris|freebsd|darwin)", 'BUILD_WITHOUT_QUIC', true}
]}.
{deps, [
{erlog, {git, "https://github.com/rvirding/erlog.git"}},
{uuid, "", {git, "https://github.com/avtobiff/erlang-uuid.git", {tag, "v0.5.2"}}},
{ulid, {git, "https://github.com/savonarola/ulid.git"}},
{riak_dt, {git, "https://github.com/basho/riak_dt.git"}},
{quickrand, {git, "https://github.com/okeuday/quickrand.git"}},
{jobs, {git, "https://github.com/uwiger/jobs.git"}},
{logjam, {git, "https://github.com/lfex/logjam.git"}},
{clique, {git, "https://github.com/basho/clique.git"}},
cowboy,
ranch,
jiffy,
gproc,
%% Tracing and metrics
{jsonformat, {git, "https://github.com/kivra/jsonformat.git"}},
{opentelemetry_api,
{git_subdir, "https://github.com/open-telemetry/opentelemetry-erlang", {branch, "main"},
"apps/opentelemetry_api"}},
{opentelemetry,
{git_subdir, "https://github.com/open-telemetry/opentelemetry-erlang", {branch, "main"},
"apps/opentelemetry"}},
{opentelemetry_exporter,
{git_subdir, "https://github.com/open-telemetry/opentelemetry-erlang", {branch, "main"},
"apps/opentelemetry_exporter"}},
opentelemetry_cowboy,
prometheus,
prometheus_httpd,
%%dev
{eqwalizer_support, {git_subdir, "https://github.com/whatsapp/eqwalizer.git", {branch, "main"},
"eqwalizer_support"}}
]}.
{cuttlefish, [
{file_name, "bbsvx.conf"},
{schema_discovery, true}
]}.
{shell, [
{sys_config_src, "./config/sys.config.src"},
{vm_args_src, "./config/vm.args.src"},
{apps, [
sasl,
ssl,
logjam,
opentelemetry_api,
opentelemetry_exporter,
opentelemetry_cowboy,
cowboy_telemetry,
jsonformat,
{opentelemetry, temporary},
prometheus,
prometheus_httpd,
cowboy,
jobs,
jiffy,
riak_dt,
ulid,
{cuttlefish, load},
mnesia,
gproc,
uuid,
quickrand,
cuttlefish,
clique,
erlog,
bbsvx
]},
{include_erts, true},
{extended_start_script, false},
{use_nodetool, true},
{overlay_vars, "config/vars.config"},
{overlay, [
{template, "priv/advanced.config", "etc/advanced.config"}
]},
{dev_mode, true}
]}.
{relx, [
{release, {bbsvx, "0.1.0"}, [
sasl,
ssl,
opentelemetry_api,
opentelemetry_exporter,
opentelemetry_cowboy,
cowboy_telemetry,
jsonformat,
{opentelemetry, temporary},
prometheus,
prometheus_httpd,
cowboy,
jobs,
logjam,
jiffy,
ulid,
riak_dt,
syntax_tools,
mnesia,
gproc,
uuid,
quickrand,
erlog,
cuttlefish,
clique,
bbsvx
]},
{include_erts, true},
{extended_start_script, false},
{overlay_vars, "config/vars.config"},
{dev_mode, false},
{overlay, [
{template, "priv/advanced.config", "etc/advanced.config"}
]}
]}.
{profiles, [
{test, [
% {deps, [meck, clique]},
{include_erts, true},
{extended_start_script, false},
{overlay_vars, "config/vars.config"},
{dev_mode, true},
{overlay, [
{template, "priv/advanced.config", "etc/advanced.config"}
]}
]}
]}.
{profiles, [
{prod, [
{relx, [
{include_erts, true},
% {template, "priv/advanced.config", "etc/advanced.config"},
{dev_mode, false},
{extended_start_script, false},
{overlay_vars, "config/vars.config"}
]}
]}
]}.
{ct_opts, [{keep_logs, 10}, {dir, ["./ct"]}, {include, ["./include"]}]}.
{project_plugins, [
{rebar3_cuttlefish, {git, "https://github.com/vernemq/rebar3_cuttlefish", {branch, "master"}}},
erlfmt,
{eqwalizer_rebar3,
{git_subdir,
"https://github.com/whatsapp/eqwalizer.git",
{branch, "main"},
"eqwalizer_rebar3"}}
]}.