Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add [email protected] #3129

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions modules/rules_perl/0.2.4/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"""
Perl rules
"""

module(
name = "rules_perl",
version = "0.2.4",
)

bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "rules_cc", version = "0.0.8")

repos = use_extension("@rules_perl//perl:extensions.bzl", "perl_repositories")
use_repo(
repos,
"perl_darwin_amd64",
"perl_darwin_arm64",
"perl_linux_amd64",
"perl_linux_arm64",
"perl_windows_x86_64",
)

register_toolchains(
"@rules_perl//perl:perl_darwin_arm64_toolchain",
"@rules_perl//perl:perl_darwin_amd64_toolchain",
"@rules_perl//perl:perl_linux_amd64_toolchain",
"@rules_perl//perl:perl_linux_arm64_toolchain",
"@rules_perl//perl:perl_windows_x86_64_toolchain",
)
13 changes: 13 additions & 0 deletions modules/rules_perl/0.2.4/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git MODULE.bazel MODULE.bazel
index 9b9d232..d45f15c 100644
--- MODULE.bazel
+++ MODULE.bazel
@@ -4,7 +4,7 @@ Perl rules

module(
name = "rules_perl",
- version = "0.1.0",
+ version = "0.2.4",
)

bazel_dep(name = "platforms", version = "0.0.6")
24 changes: 24 additions & 0 deletions modules/rules_perl/0.2.4/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2024 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

matrix:
platform: ["debian11", "macos", "ubuntu2004"]
bazel: [6.x, 7.x, 8.0.0rc2]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- '@rules_perl//test/...'
9 changes: 9 additions & 0 deletions modules/rules_perl/0.2.4/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-vHVQ84gfYyVaZcbex86Dw14K5I17mqfm6SN7BnM8v/g=",
"strip_prefix": "rules_perl-0.2.4",
"url": "https://github.com/bazel-contrib/rules_perl/archive/refs/tags/0.2.4.tar.gz",
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
"patches": {
"module_dot_bazel_version.patch": "sha256-pNzMxPUBCZaEvGJNW2eZR8X8UoF/pAYzrn/OC7/Fbmg="
},
"patch_strip": 0
}
8 changes: 5 additions & 3 deletions modules/rules_perl/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"homepage": "https://github.com/bazelbuild/rules_perl",
"homepage": "https://github.com/bazel-contrib/rules_perl",
"maintainers": [
{
"github": "mortenmj",
Expand All @@ -11,10 +11,12 @@
}
],
"repository": [
"github:bazelbuild/rules_perl"
"github:bazelbuild/rules_perl",
"github:bazel-contrib/rules_perl"
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
],
"versions": [
"0.2.0",
"0.2.3.bcr.1"
"0.2.3.bcr.1",
"0.2.4"
]
}
Loading