v1.0.0
Using Bzlmod:
- Enable with
--experimental_enable_bzlmod
in.bazelrc
. - Until Google merges bazelbuild/bazel-central-registry#94 you'll need to use our fork of the registry. Add to
.bazelrc
:
common --registry=https://raw.githubusercontent.com/aspect-build/bazel-central-registry/main/
- Add to your
MODULE.bazel
file:
bazel_dep(name = "aspect_bazel_lib", version = "1.0.0")
Read more about bzlmod: https://blog.aspect.dev/bzlmod
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_bazel_lib",
sha256 = "b381ac4dca544ecc5515916f38066e9793628477e2577edb7b2ab04e8c210738",
strip_prefix = "bazel-lib-1.0.0",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.0.0.tar.gz",
)
load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")
aspect_bazel_lib_dependencies()
Optional toolchains:
# Register the following toolchain to use jq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_jq_toolchains")
register_jq_toolchains()
# Register the following toolchain to use yq
load("@aspect_bazel_lib//lib:repositories.bzl", "register_yq_toolchains")
register_yq_toolchains()
What's Changed
- fix: add missing --test_output=errors by @f0rmiga in #128
- add bzlmod usage instructions by @alexeagle in #129
- chore: publish production releases, prep for 1.0 by @alexeagle in #130
New Contributors
Full Changelog: v0.12.1...v1.0.0