diff --git a/modules/rules_build_error/0.6.1/MODULE.bazel b/modules/rules_build_error/0.6.1/MODULE.bazel new file mode 100644 index 00000000000..a9d23d4da8c --- /dev/null +++ b/modules/rules_build_error/0.6.1/MODULE.bazel @@ -0,0 +1,39 @@ +"""Module for `rules_build_error`. +""" + +module( + name = "rules_build_error", + version = "0.6.1", +) + +################################ +# +# 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.6.1/patches/module_dot_bazel_version.patch b/modules/rules_build_error/0.6.1/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..d44fb01fe12 --- /dev/null +++ b/modules/rules_build_error/0.6.1/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.6.1", + ) + + ################################ + # diff --git a/modules/rules_build_error/0.6.1/presubmit.yml b/modules/rules_build_error/0.6.1/presubmit.yml new file mode 100644 index 00000000000..9c0ccf3fc1c --- /dev/null +++ b/modules/rules_build_error/0.6.1/presubmit.yml @@ -0,0 +1,19 @@ +--- +bcr_test_module: + module_path: "examples" + matrix: + platform: + - "debian10" + - "ubuntu2004" + - "macos" + - "windows" + bazel: + - "6.x" + - "7.x" + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/modules/rules_build_error/0.6.1/source.json b/modules/rules_build_error/0.6.1/source.json new file mode 100644 index 00000000000..f7a3a6648f9 --- /dev/null +++ b/modules/rules_build_error/0.6.1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-0k4/7P3lUd/g0+Ozp0TeQ3nE+d21ogeMYZWnm1v9Tns=", + "strip_prefix": "rules_build_error-0.6.1", + "url": "https://github.com/yuyawk/rules_build_error/releases/download/0.6.1/rules_build_error-0.6.1.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-sgDe/gj0+tgyjtc8P5XfdEcwYOxog9eU9eAe/Ejr3AU=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_build_error/metadata.json b/modules/rules_build_error/metadata.json index 2a90dfeecbe..24c86aa6ef5 100644 --- a/modules/rules_build_error/metadata.json +++ b/modules/rules_build_error/metadata.json @@ -20,7 +20,8 @@ "0.5.3", "0.5.4", "0.5.5", - "0.6.0" + "0.6.0", + "0.6.1" ], "yanked_versions": {} }