v0.8.1
Using Bzlmod with Bazel 7
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.8.1")
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.8.1")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Skylib is a dependency, remove if you already have it.
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
http_archive(
name = "rules_ruby",
sha256 = "9ff781fd8180c2be8b3ab0f16d1d88d618c3b1bc4d502dcb914591886da40014",
strip_prefix = "rules_ruby-0.8.1",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.8.1/rules_ruby-v0.8.1.tar.gz",
)
What's Changed
- fix: presubmit missing bazel propery by @p0deje in #95
- ci: separate repository caches in examples by @p0deje in #96
- fix: propagate Ruby toolchain files as inputs to
rb_gem_build
by @p0deje in #94
Full Changelog: v0.8.0...v0.8.1