Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Dec 00:58
· 205 commits to main since this release

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_ruby", version = "0.4.0")

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 = "946b268648ea9ad912a93219f2d0b4f89bd6135cf3a9d81c778337b1ce9492c6",
    strip_prefix = "rules_ruby-0.4.0",
    url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.4.0/rules_ruby-v0.4.0.tar.gz",
)

What's Changed

  • docs: add getting started to README by @p0deje in #40
  • feat: allow to read version from .ruby-version file by @p0deje in #39

Full Changelog: v0.3.0...v0.4.0