Skip to content

Commit d51fb99

Browse files
HoloRinmergify-bot
authored andcommitted
Use Ranch 2.1.0 in bazel build
Matches 063d326 (cherry picked from commit 5fd9d1f)
1 parent 06980e1 commit d51fb99

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

BUILD.ranch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ genrule(
3232
app_file(
3333
name = "app_file",
3434
app_name = "ranch",
35-
app_src = ["src/ranch.app.src"],
35+
app_version = "2.1.0",
3636
modules = [":first_beam_files", ":beam_files"],
3737
)
3838

deps/amqp_client/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ rabbitmq_lib(
4040
deps = DEPS,
4141
)
4242

43-
xref(tags = ["xref"])
43+
xref(
44+
additional_libs = [
45+
"@ranch//:bazel_erlang_lib",
46+
],
47+
tags = ["xref"],
48+
)
4449

4550
plt(
4651
name = "base_plt",

deps/rabbit/apps/rabbitmq_prelaunch/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ rabbitmq_lib(
2828

2929
xref(
3030
additional_libs = [
31+
"@ranch//:bazel_erlang_lib",
3132
"@systemd//:bazel_erlang_lib",
3233
],
3334
tags = ["xref"],

deps/rabbit_common/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,12 @@ bazel_erlang_lib(
178178
deps = DEPS + RUNTIME_DEPS,
179179
)
180180

181-
xref(tags = ["xref"])
181+
xref(
182+
additional_libs = [
183+
"@ranch//:bazel_erlang_lib",
184+
],
185+
tags = ["xref"],
186+
)
182187

183188
plt(
184189
name = "base_plt",

deps/rabbitmq_aws/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ xref(
3838
"//deps/rabbit_common:bazel_erlang_lib",
3939
"@credentials_obfuscation//:bazel_erlang_lib",
4040
"@jsx//:bazel_erlang_lib",
41+
"@ranch//:bazel_erlang_lib",
4142
"@recon//:bazel_erlang_lib",
4243
],
4344
tags = ["xref"],

workspace_helpers.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ erlang_lib(
228228

229229
hex_archive(
230230
name = "ranch",
231-
version = "2.0.0",
232-
sha256 = "c20a4840c7d6623c19812d3a7c828b2f1bd153ef0f124cb69c54fe51d8a42ae0",
231+
version = "2.1.0",
232+
sha256 = "244ee3fa2a6175270d8e1fc59024fd9dbc76294a321057de8f803b1479e76916",
233233
build_file = rabbitmq_workspace + "//:BUILD.ranch",
234234
)
235235

0 commit comments

Comments
 (0)