Using Bzlmod with Bazel 6
NOTE: bzlmod support is still beta. APIs subject to change.
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_shellcheck", version = "0.3.3")
Legacy: using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_shellcheck",
sha256 = "7d3466045f0e4923688506075c10e25f1fe27dba8ed54e4257d7f26a3c141ac7",
url = "https://github.com/aignas/rules_shellcheck/releases/download/0.3.3/rules_shellcheck-0.3.3.tar.gz",
)
load("@rules_shellcheck//:deps.bzl", "shellcheck_dependencies")
shellcheck_dependencies()
What's Changed
- chore(deps): use bazel mirror for deps by @aignas in #38
- chore(bcr): add bazel versions to presubmit.yml by @aignas in #39
Full Changelog: 0.3.2...0.3.3