Ai
1 Star 0 Fork 0

sen-mmd/rules_perl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
WORKSPACE 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
workspace(name = "rules_perl")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@rules_perl//perl:deps.bzl", "perl_register_toolchains", "perl_rules_dependencies")
load("//:platforms.bzl", "platforms")
perl_rules_dependencies()
perl_register_toolchains()
# The following invocation of register_toolchains shouldn't be required as the
# toolchains should be registered in perl_register_toolchains but for some
# reason the invocation of native.register_toolchains in
# perl_register_toolchains() doesn't seem to work unless called from a workspace
# other than rules_perl.
[
register_toolchains(
"@rules_perl//:perl_{os}_{cpu}_toolchain".format(
cpu = platform.cpu,
os = platform.os,
),
)
for platform in platforms
]
http_archive(
name = "fcgi",
build_file = "//:examples/cpan_remote/fcgi.BUILD",
sha256 = "8cfa4e1b14fb8d5acaa22ced672c6af68c0a8e25dc2a9697a0ed7f4a4efb34e4",
strip_prefix = "FCGI-0.79",
url = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-0.79.tar.gz",
)
# genhtml can be used to generate HTML reports from the output of the bazel
# coverage command. It also serves as a natural test case for Perl scripts with
# no file extension.
http_archive(
name = "genhtml",
build_file = "//:examples/genhtml/genhtml.BUILD",
sha256 = "d88b0718f59815862785ac379aed56974b9edd8037567347ae70081cd4a3542a",
strip_prefix = "lcov-1.15/bin",
url = "https://github.com/linux-test-project/lcov/archive/refs/tags/v1.15.tar.gz",
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sen-mmd/rules_perl.git
git@gitee.com:sen-mmd/rules_perl.git
sen-mmd
rules_perl
rules_perl
main

搜索帮助