13 Star 31 Fork 0

Gitee 极速下载 / RabbitMQ

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/rabbitmq/rabbitmq-server
克隆/下载
rabbitmqctl.bzl 658 Bytes
一键复制 编辑 原始数据 按行查看 历史
load(":rabbitmq_home.bzl", "RabbitmqHomeInfo", "rabbitmq_home_short_path")
def _impl(ctx):
rabbitmq_home_path = rabbitmq_home_short_path(ctx.attr.home)
script = """
exec ./{home}/sbin/{cmd} "$@"
""".format(
home = rabbitmq_home_path,
cmd = ctx.label.name,
)
ctx.actions.write(
output = ctx.outputs.executable,
content = script,
)
return [DefaultInfo(
runfiles = ctx.runfiles(ctx.attr.home[DefaultInfo].files.to_list()),
)]
rabbitmqctl = rule(
implementation = _impl,
attrs = {
"home": attr.label(providers = [RabbitmqHomeInfo]),
},
executable = True,
)
Erlang
1
https://gitee.com/mirrors/rabbitmq.git
git@gitee.com:mirrors/rabbitmq.git
mirrors
rabbitmq
RabbitMQ
main

搜索帮助