-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrebar.config
More file actions
144 lines (131 loc) Β· 4.17 KB
/
rebar.config
File metadata and controls
144 lines (131 loc) Β· 4.17 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
138
139
140
141
142
143
144
% Common project erlang options.
{erl_opts, [
% mandatory
debug_info,
warnings_as_errors,
warn_export_all,
warn_missing_spec,
warn_untyped_record,
warn_export_vars,
% by default
warn_unused_record,
warn_bif_clash,
warn_obsolete_guard,
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_deprecated_function
% at will
% bin_opt_info
% no_auto_import
% warn_missing_spec_all
]}.
% Common project dependencies.
{deps, [
{recon, "2.5.2"},
{cache, "2.3.3"},
{gproc, "0.9.0"},
{genlib, {git, "https://github.com/valitydev/genlib.git", {tag, "v1.1.0"}}},
{woody, {git, "https://github.com/valitydev/woody_erlang.git", {tag, "v1.1.1"}}},
{damsel, {git, "https://github.com/valitydev/damsel.git", {tag, "v2.2.27"}}},
{payproc_errors, {git, "https://github.com/valitydev/payproc-errors-erlang.git", {branch, "master"}}},
{mg_proto, {git, "https://github.com/valitydev/machinegun-proto.git", {branch, "master"}}},
{dmt_client, {git, "https://github.com/valitydev/dmt-client.git", {tag, "v2.0.3"}}},
{scoper, {git, "https://github.com/valitydev/scoper.git", {tag, "v1.1.0"}}},
{party_client, {git, "https://github.com/valitydev/party-client-erlang.git", {tag, "v2.0.1"}}},
{bender_client, {git, "https://github.com/valitydev/bender-client-erlang.git", {tag, "v1.1.0"}}},
{erl_health, {git, "https://github.com/valitydev/erlang-health.git", {tag, "v1.0.0"}}},
{fault_detector_proto, {git, "https://github.com/valitydev/fault-detector-proto.git", {branch, "master"}}},
{limiter_proto, {git, "https://github.com/valitydev/limiter-proto.git", {tag, "v2.1.1"}}},
{herd, {git, "https://github.com/wgnet/herd.git", {tag, "1.3.4"}}},
{progressor, {git, "https://github.com/valitydev/progressor.git", {tag, "v1.0.23"}}},
{prometheus, "4.11.0"},
{prometheus_cowboy, "0.1.9"},
%% OpenTelemetry deps
{opentelemetry_api, "1.4.0"},
{opentelemetry, "1.5.0"},
{opentelemetry_exporter, "1.8.0"},
{eqwalizer_support,
{git_subdir, "https://github.com/whatsapp/eqwalizer.git", {branch, "main"}, "eqwalizer_support"}}
]}.
{xref_checks, [
% mandatory
undefined_function_calls,
undefined_functions,
deprecated_functions_calls,
deprecated_functions
% at will
% exports_not_used
]}.
{dialyzer, [
{warnings, [
% mandatory
unmatched_returns,
error_handling,
unknown
]},
{plt_apps, all_deps}
]}.
{profiles, [
{prod, [
{deps, [
% for introspection on production bdd6632964883636c18cf7bfdd68c4f16f82c79e
{recon, "2.5.2"},
{logger_logstash_formatter,
{git, "https://github.com/valitydev/logger_logstash_formatter.git", {ref, "08a66a6"}}}
]},
{relx, [
{release, {hellgate, "0.1"}, [
{recon, load},
{runtime_tools, load},
{tools, load},
{canal, load},
{opentelemetry, temporary},
logger_logstash_formatter,
sasl,
herd,
hellgate
]},
{mode, minimal},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{extended_start_script, true}
]}
]},
{test, [
{deps, [
{meck, "0.9.2"}
]},
{dialyzer, [{plt_extra_apps, [eunit, common_test, runtime_tools, damsel, meck, jsone]}]}
]}
]}.
{project_plugins, [
{covertool, "2.0.7"},
{erlfmt, "1.6.2"},
{rebar3_lint, "3.2.6"},
{rebar3_lcov, {git, "https://github.com/valitydev/rebar3-lcov.git", {tag, "0.1"}}}
]}.
{erlfmt, [
write,
{print_width, 120},
{files, [
"apps/*/{src,include,test}/*.{hrl,erl}", "rebar.config", "elvis.config", "config/sys.config"
]}
]}.
{lcov, [
{coverdata_files, [
"eunit.coverdata",
"ct.coverdata"
]}
]}.
{covertool, [
{coverdata_files, [
"eunit.coverdata",
"ct.coverdata"
]}
]}.
{shell, [
{config, "config/sys.config"},
{apps, [hellgate, hg_client, hg_progressor, hg_proto, routing, recon]}
]}.