代码拉取完成,页面将自动刷新
load("@rules_erlang//:erlang_bytecode2.bzl", "erlang_bytecode")
load("@rules_erlang//:filegroup.bzl", "filegroup")
def all_srcs(name = "all_srcs"):
filegroup(
name = "srcs",
srcs = [
"src/rabbit_delayed_message.erl",
"src/rabbit_delayed_message_app.erl",
"src/rabbit_delayed_message_sup.erl",
"src/rabbit_delayed_message_utils.erl",
"src/rabbit_exchange_type_delayed_message.erl",
],
)
filegroup(name = "private_hdrs")
filegroup(
name = "public_hdrs",
)
filegroup(name = "priv")
filegroup(
name = "license_files",
srcs = [
"LICENSE",
"LICENSE-MPL-RabbitMQ",
],
)
filegroup(
name = "public_and_private_hdrs",
srcs = [":private_hdrs", ":public_hdrs"],
)
filegroup(
name = "all_srcs",
srcs = [":public_and_private_hdrs", ":srcs"],
)
def all_beam_files(name = "all_beam_files"):
erlang_bytecode(
name = "other_beam",
srcs = [
"src/rabbit_delayed_message.erl",
"src/rabbit_delayed_message_app.erl",
"src/rabbit_delayed_message_sup.erl",
"src/rabbit_delayed_message_utils.erl",
"src/rabbit_exchange_type_delayed_message.erl",
],
hdrs = [":public_and_private_hdrs"],
app_name = "rabbitmq_delayed_message_exchange",
dest = "ebin",
erlc_opts = "//:erlc_opts",
deps = ["@rabbitmq-server//deps/rabbit:erlang_app", "@rabbitmq-server//deps/rabbit_common:erlang_app"],
)
filegroup(
name = "beam_files",
srcs = [":other_beam"],
)
def all_test_beam_files(name = "all_test_beam_files"):
erlang_bytecode(
name = "test_other_beam",
testonly = True,
srcs = [
"src/rabbit_delayed_message.erl",
"src/rabbit_delayed_message_app.erl",
"src/rabbit_delayed_message_sup.erl",
"src/rabbit_delayed_message_utils.erl",
"src/rabbit_exchange_type_delayed_message.erl",
],
hdrs = [":public_and_private_hdrs"],
app_name = "rabbitmq_delayed_message_exchange",
dest = "test",
erlc_opts = "//:test_erlc_opts",
deps = ["@rabbitmq-server//deps/rabbit:erlang_app", "@rabbitmq-server//deps/rabbit_common:erlang_app"],
)
filegroup(
name = "test_beam_files",
testonly = True,
srcs = [":test_other_beam"],
)
def test_suite_beam_files(name = "test_suite_beam_files"):
erlang_bytecode(
name = "plugin_SUITE_beam_files",
testonly = True,
srcs = ["test/plugin_SUITE.erl"],
outs = ["test/plugin_SUITE.beam"],
app_name = "rabbitmq_delayed_message_exchange",
erlc_opts = "//:test_erlc_opts",
deps = ["@rabbitmq-server//deps/amqp_client:erlang_app"],
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。