1 Star 0 Fork 0

jobily/rabbitmq-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.ranch 918 Bytes
一键复制 编辑 原始数据 按行查看 历史
load("@rules_erlang//:app_file.bzl", "app_file")
load("@rules_erlang//:erlang_app_info.bzl", "erlang_app_info")
load("@rules_erlang//:erlang_app.bzl", "DEFAULT_ERLC_OPTS")
load("@rules_erlang//:erlang_bytecode.bzl", "erlang_bytecode")
erlang_bytecode(
name = "beam_files",
srcs = glob(["src/**/*.erl"]),
hdrs = glob([
"include/**/*.hrl",
"src/**/*.hrl",
]),
dest = "ebin",
erlc_opts = DEFAULT_ERLC_OPTS,
)
genrule(
name = "appup",
srcs = ["src/ranch.appup"],
outs = ["ebin/ranch.appup"],
cmd = "cp $< $@",
)
app_file(
name = "app_file",
app_name = "ranch",
app_version = "2.1.0",
modules = [":beam_files"],
)
erlang_app_info(
name = "erlang_app",
hdrs = glob(["include/**/*.hrl"]),
app = ":app_file",
app_name = "ranch",
beam = [
":beam_files",
":appup",
],
visibility = ["//visibility:public"],
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hubo/rabbitmq-server.git
git@gitee.com:hubo/rabbitmq-server.git
hubo
rabbitmq-server
rabbitmq-server
add-opentelemetry_cowboy-dep

搜索帮助

0d507c66 1850385 C8b1a773 1850385