Using Bzlmod
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "with_cfg.bzl", version = "0.9.1")
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 = "d1d3049822d594e0057adbf6ad084242340eb37ec7cb8d43779710a9311ecd14",
strip_prefix = "with_cfg.bzl-0.9.1",
url = "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.9.1/with_cfg.bzl-v0.9.1.tar.gz",
)
What's Changed
New Contributors
Full Changelog: v0.9.0...v0.9.1