diff options
author | publish-to-bcr-bot[bot] <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> | 2024-02-16 13:02:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 13:02:48 +0100 |
commit | 52be59b68f7c4cdba02a6672e8092c1c94b13da1 (patch) | |
tree | 411ca8f63acbd9bd253c86eb8c375a085af1f506 | |
parent | a127c1d3ffdb2465e74d323617af78e6aefeef67 (diff) | |
download | bazelbuild-bazel-central-registry-52be59b68f7c4cdba02a6672e8092c1c94b13da1.tar.gz |
Publish fmeum/with_cfg.bzl@v0.2.2 (#1493)
Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
-rw-r--r-- | modules/with_cfg.bzl/0.2.2/MODULE.bazel | 15 | ||||
-rw-r--r-- | modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch | 12 | ||||
-rw-r--r-- | modules/with_cfg.bzl/0.2.2/presubmit.yml | 27 | ||||
-rw-r--r-- | modules/with_cfg.bzl/0.2.2/source.json | 9 | ||||
-rw-r--r-- | modules/with_cfg.bzl/metadata.json | 3 |
5 files changed, 65 insertions, 1 deletions
diff --git a/modules/with_cfg.bzl/0.2.2/MODULE.bazel b/modules/with_cfg.bzl/0.2.2/MODULE.bazel new file mode 100644 index 0000000..59ac8de --- /dev/null +++ b/modules/with_cfg.bzl/0.2.2/MODULE.bazel @@ -0,0 +1,15 @@ +module( + name = "with_cfg.bzl", + version = "0.2.2", + compatibility_level = 1, +) + +bazel_dep(name = "bazel_skylib", version = "1.4.1") + +bazel_dep(name = "aspect_bazel_lib", version = "1.34.0", dev_dependency = True) +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) +bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True) +bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle") +bazel_dep(name = "platforms", version = "0.0.6", dev_dependency = True) +bazel_dep(name = "rules_testing", version = "0.4.0", dev_dependency = True) +bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True) diff --git a/modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch b/modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch new file mode 100644 index 0000000..5cfdf0a --- /dev/null +++ b/modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch @@ -0,0 +1,12 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "with_cfg.bzl", +- version = "0.0.0", ++ version = "0.2.2", + compatibility_level = 1, + ) + + bazel_dep(name = "bazel_skylib", version = "1.4.1") diff --git a/modules/with_cfg.bzl/0.2.2/presubmit.yml b/modules/with_cfg.bzl/0.2.2/presubmit.yml new file mode 100644 index 0000000..beb29df --- /dev/null +++ b/modules/with_cfg.bzl/0.2.2/presubmit.yml @@ -0,0 +1,27 @@ +bcr_test_module: + module_path: "examples" + matrix: + platform: ["debian10", "macos", "ubuntu2004"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: 6.4.0rc3 + test_targets: + - "//..." + run_windows_tests: + name: "Run test module" + platform: "windows" + bazel: 6.4.0rc3 + build_targets: + - "//..." + test_targets: + - "//..." + # Running these tests on Windows requires non-standard Visual Studio + # components and tweaks to PATH. + - "-//cc_asan_test/..." + - "-//cc_asan_test_with_reset/..." + # Fails with: + # LAUNCHER ERROR: Cannot launch process: "C:/tools/msys64/usr/bin/bash.exe + # Reason: (error: 8): Not enough memory resources are available to process this command. + - "-//sh/..." diff --git a/modules/with_cfg.bzl/0.2.2/source.json b/modules/with_cfg.bzl/0.2.2/source.json new file mode 100644 index 0000000..343e079 --- /dev/null +++ b/modules/with_cfg.bzl/0.2.2/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-RxI2zz4kuSAZXfV6lXm6E14tdzABzgNzrH9DTBgdRv4=", + "strip_prefix": "with_cfg.bzl-0.2.2", + "url": "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.2.2/with_cfg.bzl-v0.2.2.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-lvbx9WFZM5J2rSVahgV2Bzr8Yhn1p14ZdB7I3saMxfY=" + }, + "patch_strip": 1 +} diff --git a/modules/with_cfg.bzl/metadata.json b/modules/with_cfg.bzl/metadata.json index 4d19e15..30f5d27 100644 --- a/modules/with_cfg.bzl/metadata.json +++ b/modules/with_cfg.bzl/metadata.json @@ -13,7 +13,8 @@ "versions": [ "0.1.0", "0.2.0", - "0.2.1" + "0.2.1", + "0.2.2" ], "yanked_versions": {} } |