Releases: theoremlp/rules_multitool
Releases · theoremlp/rules_multitool
v1.0.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "1.0.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "b9a89272141733ba869e358726b5042c60a535c1d695c97b9c7df9b05ae34020",
strip_prefix = "rules_multitool-1.0.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v1.0.0/rules_multitool-1.0.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",
)
# required since 0.15.0 to enable only downloading tools used by this workspace
load("@multitool//:tools.bzl", "register_tools")
register_tools()
What's Changed
Full Changelog: v0.15.0...v1.0.0
v0.15.0
Breaking Changes
(WORKSPACE users only): WORKSPACE users must now include an additional load and function call:
load("@multitool//:tools.bzl", "register_tools")
register_tools()
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.15.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "e1de5ada5b032b18e0a85b4791a06939568eb515d1ed1b2b2c9da8d922bb563b",
strip_prefix = "rules_multitool-0.15.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.15.0/rules_multitool-0.15.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",
)
# required since 0.15.0 to enable only downloading tools used by this workspace
load("@multitool//:tools.bzl", "register_tools")
register_tools()
What's Changed
- Update bazel-contrib/setup-bazel action to v0.9.1 by @renovate-thm in #61
- Lazily download tools by @mark-thm in #62
- Eliminate the extra workspace repo by @mark-thm in #63
Full Changelog: v0.14.0...v0.15.0
v0.14.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- 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
- Create a multitool.lock.json (schema)
- 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
- @thomasquinn made their first contribution in #60
Full Changelog: v0.13.0...v0.14.0
v0.13.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.13.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "edc9f212163c8596d3cfdcc1caa4ae1ce1b22801ef688c078ef1cc6cda56412d",
strip_prefix = "rules_multitool-0.13.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.13.0/rules_multitool-0.13.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
- Run our own test matrix by @mark-thm in #55
- Update bazel-contrib/setup-bazel action to v0.9.0 by @renovate-thm in #56
Full Changelog: v0.12.0...v0.13.0
v0.12.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.12.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "9b685ce8e454c938dbee54488f7c36bedd7c1c39db8a0c980c11c2115cb26388",
strip_prefix = "rules_multitool-0.12.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.12.0/rules_multitool-0.12.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
Full Changelog: v0.10.0...v0.12.0
v0.11.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.11.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "ac97f3ab2869d1490130e68280366d4559510266a5b215c628c5afd4bd245d4e",
strip_prefix = "rules_multitool-0.11.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.11.0/rules_multitool-0.11.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
- Only enforce minimum Bazel version for Windows artifacts on Windows by @peakschris in #50
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.10.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "7a86b4653b46a573a5cc25f5a2f05f104f1cbc73a427ab8977293eab0885a241",
strip_prefix = "rules_multitool-0.10.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.10.0/rules_multitool-0.10.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
Full Changelog: v0.9.0...v0.10.0
v0.9.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.9.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "314d09774c44e2d7bdf2b5f45c2150913e853270d247874807a00c1e1e5e9dd6",
strip_prefix = "rules_multitool-0.9.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.9.0/rules_multitool-0.9.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
- Display test errors in CI by @mark-thm in #46
- Update buildifier to 6.4.0 by @mark-thm in #47
- feat: windows by @peakschris in #45
New Contributors
- @peakschris made their first contribution in #45
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.8.0")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "491e7f7bfe9032027e88fc835e9b29514f89c64222100a7a16a72291bc77e224",
strip_prefix = "rules_multitool-0.8.0",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.8.0/rules_multitool-0.8.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
- Add docs about how to update multitool's lockfile by @mark-thm in #31
- chore(deps): update bazel-contrib/.github action to v6 by @renovate-thm in #37
- Disable renovating Bazel dependencies by @mark-thm in #38
- Simplify the download steps of release in automation.md by @hunshcn in #40
- Fix lockfile registration to ensure root module lockfiles win conflicts by @mark-thm in #43
New Contributors
Full Changelog: v0.7.1...v0.8.0
v0.7.1
Using Bzlmod (preferred)
- Create a multitool.lock.json (schema)
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_multitool", version = "0.7.1")
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//:multitool.lock.json")
use_repo(multitool, "multitool")
Using WORKSPACE
- Create a multitool.lock.json (schema)
- 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 = "b354be5278ef326dbf613e5d52ac5d897c0b410bcdc2b577b8a7a682ed1c5a37",
strip_prefix = "rules_multitool-0.7.1",
url = "https://github.com/theoremlp/rules_multitool/releases/download/v0.7.1/rules_multitool-0.7.1.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
Full Changelog: v0.7.0...v0.7.1