v0.2.0
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.2.0")
What's Changed
rules_multitool has a completely new interface, both for defining tools to make available and for accessing tools/toolchains.
Tools are now defined using a lockfile (a precursor and generator of this lockfile will follow in a subsequent release).
Tools are now accessed through a hub repo as @multitool//tools/<tool name>
.
As before, tools are backed by a Bazel toolchain, and the toolchains may be sparsely populated with OS/CPUs that matter for your builds.
See the updated readme and/or #9 for more details.
- Fix presubmit.yml by @mark-thm in #6
- Fix broken README link by @mark-thm in #7
- Refactor to properly support bzlmod by @mark-thm in #9
Full Changelog: v0.1.1...v0.2.0