Repository navigation
v0.1.0
Pre-release
Pre-release
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
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