Using Bzlmod
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "with_cfg.bzl", version = "0.7.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 = "38474c6dae1d690587b5dcc4d27e6d3e438c01e6bab144160fb8ba2e47b82668",
strip_prefix = "with_cfg.bzl-0.7.0",
url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.7.0/with_cfg.bzl-v0.7.0.tar.gz",
)
What's Changed
- Fixes in preparation for symbolic macros by @fmeum in #137
- Create a symbolic macro if supported by @fmeum in #138
Full Changelog: v0.6.1...v0.7.0