v0.1.0
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.1.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_ruby",
sha256 = "3cd131af2865a008714aabb56c1db06f17bc1faaeca8d53322fe81da4d0ae01d",
strip_prefix = "rules_ruby-0.1.0",
url = "https://github.com/p0deje/rules_ruby/releases/download/v0.1.0/rules_ruby-v0.1.0.tar.gz",
)
What's Changed
- lazily download ruby toolchain by @jgao54 in #4
- support
rb_binary
with Gemfiles in subdirectory by @jgao54 in #8 - Propagate bundle envs from rb_bundle to rb_binary by @jgao54 in #10
- chore: add a .bazelversion file by @alexeagle in #11
- chore: extend timeout for some tests by @alexeagle in #20
- chore: introduce buildifier format/linter for starlark by @alexeagle in #18
- chore: automate releases by @alexeagle in #13
- chore: check buildifier on CI by @alexeagle in #21
- feat: support bzlmod by @alexeagle in #17
- chore: add bazelrc for CI by @alexeagle in #24
New Contributors
- @jgao54 made their first contribution in #4
- @alexeagle made their first contribution in #11
Full Changelog: https://github.com/p0deje/rules_ruby/commits/v0.1.0