Skip to content

Commit

Permalink
Add rules_cpan
Browse files Browse the repository at this point in the history
  • Loading branch information
lalten committed Aug 18, 2024
1 parent 0a3a563 commit e6c4479
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/rules_cpan/1.0.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(
name = "rules_cpan",
version = "1.0.0",
)

bazel_dep(name = "rules_perl", version = "0.2.3.bcr.1") # https://github.com/bazelbuild/bazel-central-registry/pull/2631
bazel_dep(name = "rules_python", version = "0.34.0")
21 changes: 21 additions & 0 deletions modules/rules_cpan/1.0.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
matrix:
platform: ["debian11", "macos", "ubuntu2204"]
bazel: [6.x, 7.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets: ['@rules_cpan//...']
bcr_test_module:
module_path: example
matrix:
platform: ["debian11", "macos", "ubuntu2204"]
bazel: [6.x, 7.x]
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets: [//...]
6 changes: 6 additions & 0 deletions modules/rules_cpan/1.0.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"integrity": "sha256-lvsn7SQP2B1r0hydC6qAS/F0gPANMIsI45pqGkoQql4=",
"strip_prefix": "rules_cpan-1.0.0",
"url": "https://github.com/lalten/rules_cpan/releases/download/v1.0.0/rules_cpan-1.0.0.tar.gz",
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/rules_cpan/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/lalten/rules_cpan",
"maintainers": [
{
"email": "[email protected]",
"github": "lalten",
"name": "lalten"
}
],
"repository": [
"github:lalten/rules_cpan"
],
"versions": [
"1.0.0"
],
"yanked_versions": {}
}

0 comments on commit e6c4479

Please sign in to comment.