Skip to content

v0.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Oct 11:04
· 6 commits to main since this release
795cc7b

Using Bzlmod (preferred)

  1. Create a multitool.lock.json (schema)
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_multitool", version = "0.14.0")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")

Using WORKSPACE

  1. Create a multitool.lock.json (schema)
  2. Add to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "bazel_features",
    sha256 = "06f02b97b6badb3227df2141a4b4622272cdcd2951526f40a888ab5f43897f14",
    strip_prefix = "bazel_features-1.9.0",
    url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.0/bazel_features-v1.9.0.tar.gz",
)

http_archive(
    name = "rules_multitool",
    sha256 = "5f2267777e9bcc01c7cbf475463952b1ee3732bff32e09e4bfdcd605d8983b28",
    strip_prefix = "rules_multitool-0.14.0",
    url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.14.0/rules_multitool-0.14.0.tar.gz",
)

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "//:multitool.lock.json",
)

What's Changed

  • feat: add rule to run tool in BUILD_WORKSPACE_DIRECTORY by @thomasquinn in #60

New Contributors

Full Changelog: v0.13.0...v0.14.0