Skip to content

v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Feb 15:19

Using Bzlmod with Bazel 6 or greater

  1. (Bazel 6 only) Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_polyglot", 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_polyglot",
    sha256 = "b15bd4861840cfe761a491c05c72cf04239498e0659b3e3750e0324e765a4b32",
    strip_prefix = "rules_polyglot-0.1.0",
    url = "https://github.com/scottpledger/rules_polyglot/releases/download/v0.1.0/rules_polyglot-v0.1.0.tar.gz",
)

######################
# rules_polyglot setup #
######################
# Fetches the rules_polyglot dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@rules_polyglot//polyglot:repositories.bzl", "rules_polyglot_dependencies")

rules_polyglot_dependencies()

Full Changelog: https://github.com/scottpledger/rules_polyglot/commits/v0.1.0