v0.1.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.1.1")
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 = "813963323ef591731993d1d7ee8dba6ac80064a46c290f1561559c1e433152dd",
strip_prefix = "rules_ruby-0.1.1",
url = "https://github.com/p0deje/rules_ruby/releases/download/v0.1.1/rules_ruby-v0.1.1.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.1