diff --git a/modules/rules_build_error/0.7.0/MODULE.bazel b/modules/rules_build_error/0.7.0/MODULE.bazel new file mode 100644 index 00000000000..b96540aef4c --- /dev/null +++ b/modules/rules_build_error/0.7.0/MODULE.bazel @@ -0,0 +1,41 @@ +"""Module for `rules_build_error`. +""" + +module( + name = "rules_build_error", + version = "0.7.0", +) + +bazel_dep(name = "platforms", version = "0.0.10") + +################################ +# +# Dev-dependencies +# +################################ + +bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True) +bazel_dep( + name = "hermetic_cc_toolchain", + version = "3.1.1", + dev_dependency = True, +) + +cc_toolchains = use_extension( + "@hermetic_cc_toolchain//toolchain:ext.bzl", + "toolchains", + dev_dependency = True, +) +use_repo(cc_toolchains, "zig_sdk") + +register_toolchains( + "@zig_sdk//toolchain:linux_amd64_gnu.2.31", + "@zig_sdk//toolchain:linux_arm64_gnu.2.31", + "@zig_sdk//toolchain:darwin_amd64", + "@zig_sdk//toolchain:darwin_arm64", + "@zig_sdk//toolchain:windows_amd64", + "@zig_sdk//toolchain:windows_arm64", + dev_dependency = True, +) + +bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True) diff --git a/modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch b/modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..f7952d4feb5 --- /dev/null +++ b/modules/rules_build_error/0.7.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -2,9 +2,9 @@ + """ + + module( + name = "rules_build_error", +- version = "0.0.0", ++ version = "0.7.0", + ) + + bazel_dep(name = "platforms", version = "0.0.10") + diff --git a/modules/rules_build_error/0.7.0/presubmit.yml b/modules/rules_build_error/0.7.0/presubmit.yml new file mode 100644 index 00000000000..13be774b610 --- /dev/null +++ b/modules/rules_build_error/0.7.0/presubmit.yml @@ -0,0 +1,20 @@ +--- +bcr_test_module: + module_path: "examples" + matrix: + platform: + - "debian10" + - "ubuntu2004" + - "macos_arm64" + - "windows" + bazel: + - "6.x" + - "7.x" + - "8.0.0rc4" + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_build_error/0.7.0/source.json b/modules/rules_build_error/0.7.0/source.json new file mode 100644 index 00000000000..730aae90335 --- /dev/null +++ b/modules/rules_build_error/0.7.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-sw4nrGohBUyDD2Fe7TibyuGPDA9ZGXGuOx7m0EKoCDo=", + "strip_prefix": "rules_build_error-0.7.0", + "url": "https://github.com/yuyawk/rules_build_error/releases/download/0.7.0/rules_build_error-0.7.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-/Zjd5KdYNHys3FHtgFbjWH5bOaoQHvtEtkcnc1D6W0E=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_build_error/metadata.json b/modules/rules_build_error/metadata.json index 24c86aa6ef5..328ef6c1582 100644 --- a/modules/rules_build_error/metadata.json +++ b/modules/rules_build_error/metadata.json @@ -21,7 +21,8 @@ "0.5.4", "0.5.5", "0.6.0", - "0.6.1" + "0.6.1", + "0.7.0" ], "yanked_versions": {} }