v0.5.0
Using Bzlmod
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "with_cfg.bzl", version = "0.5.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "with_cfg.bzl",
sha256 = "5a923622216ba4545f50d5a3d895be373a9fe3a71f18d0036e276315da4fe67a",
strip_prefix = "with_cfg.bzl-0.5.0",
url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.5.0/with_cfg.bzl-v0.5.0.tar.gz",
)
What's Changed
- Add a
clone()
method to builders by @fmeum in #117
Also includes stricter checks for mutations of builders afterbuild()
has been called.
Values passed toset
orextend
are now deeply copied instead of retained by reference.
Full Changelog: v0.4.2...v0.5.0