Using Bzlmod with Bazel 6:
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "2.13.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "57a777c5d4d0b79ad675995ee20fc1d6d2514a1ef3000d98f5c70cf0c09458a3",
strip_prefix = "bazel-lib-2.13.0",
url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.13.0/bazel-lib-v2.13.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
# Required bazel-lib dependencies
aspect_bazel_lib_dependencies()
# Register bazel-lib toolchains
aspect_bazel_lib_register_toolchains()
What's Changed
- fix(tar): be more clear that we only support create mode by @alexeagle in #1038
- feat: Add diff_test_failure_message attribute to write_source_file* by @jameskuszmaul-brt in #1030
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.1.1 by @renovate in #1039
- feat: Add option to pass args to
diff
command indiff_test
on Linux/MacOS by @r0bobo in #1032
New Contributors
- @jameskuszmaul-brt made their first contribution in #1030
- @r0bobo made their first contribution in #1032
Full Changelog: v2.12.0...v2.13.0