v2.1.0
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.1.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 = "fc8bd670380eaba5314769abbe9fee21d641e3da06d9d26b8073a301f6d62332",
strip_prefix = "bazel-lib-2.1.0",
url = "https:/aspect-build/bazel-lib/releases/download/v2.1.0/bazel-lib-v2.1.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: isolate rules_lint dev dependency usage into its own Bazel package by @gregmagolan in #687
- chore: run Aspect Workflows setup step on small instances by @gregmagolan in #688
- chore: improve docs about mtree mutation by @alexeagle in #692
- fix(tar): propagate testonly attr to mtree_spec by @alexeagle in #691
- chore: enable workflows delivery on demostration target by @gregmagolan in #693
- chore: upgrade to Aspect Workflows 5.9.0-rc.0 by @gregmagolan in #694
- chore: upgrade to Aspect Workflows 5.9.0-rc.7 by @gregmagolan in #695
- chore: switch to smaller 'small' instances without nvme drives by @gregmagolan in #700
- fix #697: use to_repository_relative_path in mtree_spec by @gzm0 in #696
- feat: implement bats test runner by @thesayyn in #699
- fix: create windows launcher for bats by @thesayyn in #704
- test: fix timeout by @thesayyn in #707
- chore: upgrade to Aspect Workflows 5.9.0-rc.9 by @gregmagolan in #705
Full Changelog: v2.0.3...v2.1.0