Repository navigation
v0.1.1
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_shellspec", 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_shellspec",
sha256 = "ff0c93d6285d51b36fb67127fbcbb9aa0b088f75995ffdc3a44414d252d7177f",
strip_prefix = "rules_shellspec-0.1.1",
url = "https://github.com/myorg/rules_shellspec/releases/download/v0.1.1/rules_shellspec-v0.1.1.tar.gz",
)
#########################
# rules_shellspec setup #
#########################
# Fetches the rules_shellspec 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_shellspec//shellspec:repositories.bzl", "rules_shellspec_dependencies", "shellspec_register")
rules_shellspec_dependencies()
shellspec_register()Full Changelog: v0.1.0...v0.1.1