diff --git a/modules/rules_cpan/1.0.0/MODULE.bazel b/modules/rules_cpan/1.0.0/MODULE.bazel new file mode 100644 index 00000000000..f5b3a180065 --- /dev/null +++ b/modules/rules_cpan/1.0.0/MODULE.bazel @@ -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") \ No newline at end of file diff --git a/modules/rules_cpan/1.0.0/presubmit.yml b/modules/rules_cpan/1.0.0/presubmit.yml new file mode 100644 index 00000000000..499b4acbd6d --- /dev/null +++ b/modules/rules_cpan/1.0.0/presubmit.yml @@ -0,0 +1,22 @@ +--- +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: [7.x] + tasks: + run_test_module: + name: Run test module + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: [//...] + diff --git a/modules/rules_cpan/1.0.0/source.json b/modules/rules_cpan/1.0.0/source.json new file mode 100644 index 00000000000..66b56880072 --- /dev/null +++ b/modules/rules_cpan/1.0.0/source.json @@ -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 +} diff --git a/modules/rules_cpan/metadata.json b/modules/rules_cpan/metadata.json new file mode 100644 index 00000000000..a5e649fb572 --- /dev/null +++ b/modules/rules_cpan/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/lalten/rules_cpan", + "maintainers": [ + { + "email": "bcr@laure.nz", + "github": "lalten", + "name": "Laurenz Altenmueller" + } + ], + "repository": [ + "github:lalten/rules_cpan" + ], + "versions": [ + "1.0.0" + ], + "yanked_versions": {} +}