Remove pre-generated .app files in cowboy, cowlib & ranch

As they won't be replaced in the bazel build, the way that they are
with erlang.mk and this causes build divergence

(cherry picked from commit ee85344ddc)
This commit is contained in:
Rin Kuryloski 2023-08-14 11:57:34 +02:00 committed by Mergify
parent 8081744fae
commit 6f177f219d
4 changed files with 17 additions and 0 deletions

View File

@ -174,6 +174,9 @@ erlang_package.hex_package(
build_file = "@rabbitmq-server//bazel:BUILD.cowboy",
sha256 = "3afdccb7183cc6f143cb14d3cf51fa00e53db9ec80cdcd525482f5e99bc41d6b",
version = "2.10.0",
patch_cmds = [
"rm ebin/cowboy.app",
],
)
erlang_package.hex_package(
@ -181,6 +184,9 @@ erlang_package.hex_package(
build_file = "@rabbitmq-server//bazel:BUILD.cowlib",
sha256 = "163b73f6367a7341b33c794c4e88e7dbfe6498ac42dcd69ef44c5bc5507c8db0",
version = "2.12.1",
patch_cmds = [
"rm ebin/cowlib.app",
],
)
erlang_package.hex_package(
@ -299,6 +305,9 @@ erlang_package.hex_package(
build_file = "@rabbitmq-server//bazel:BUILD.ranch",
sha256 = "244ee3fa2a6175270d8e1fc59024fd9dbc76294a321057de8f803b1479e76916",
version = "2.1.0",
patch_cmds = [
"rm ebin/ranch.app",
],
)
erlang_package.hex_package(

View File

@ -146,6 +146,9 @@ erlang_app(
srcs = [":all_srcs"],
hdrs = [":public_hdrs"],
app_name = "cowboy",
app_description = "Small, fast, modern HTTP server.",
app_version = "2.10.0",
app_registered = ["cowboy_clock"],
beam_files = [":beam_files"],
extra_apps = ["crypto"],
license_files = [":license_files"],

View File

@ -148,6 +148,8 @@ erlang_app(
srcs = [":all_srcs"],
hdrs = [":public_hdrs"],
app_name = "cowlib",
app_description = "Support library for manipulating Web protocols.",
app_version = "2.12.1",
beam_files = [":beam_files"],
extra_apps = ["crypto"],
)

View File

@ -121,6 +121,9 @@ erlang_app(
srcs = [":all_srcs"],
hdrs = [":public_hdrs"],
app_name = "ranch",
app_description = "Socket acceptor pool for TCP protocols.",
app_version = "2.1.0",
app_registered = ["ranch_server"],
beam_files = [":beam_files"],
extra_apps = ["ssl"],
license_files = [":license_files"],