This repository contains the Bazel ruleset for shell scripts.
rules_shell
v0.3.0
published 2 weeks ago
9 stars
4 forks
4 watchers
Maintained byYun Peng,Fabian Meumertzheim
v0.3.0
November 6, 2024
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_shell", version = "0.3.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_shell",
sha256 = "d8cd4a3a91fc1dc68d4c7d6b655f09def109f7186437e3f50a9b60ab436a0c53",
strip_prefix = "rules_shell-0.3.0",
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.3.0/rules_shell-v0.3.0.tar.gz",
)
load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")
rules_shell_dependencies()
rules_shell_toolchains()
What's Changed
- Mark automated releases as non-prerelease by @alexeagle in https://github.com/bazelbuild/rules_shell/pull/14
- Copy over runfiles library from Bazel by @fmeum in https://github.com/bazelbuild/rules_shell/pull/13
- Update Bazel version to fix release tests by @fmeum in https://github.com/bazelbuild/rules_shell/pull/15
New Contributors
- @alexeagle made their first contribution in https://github.com/bazelbuild/rules_shell/pull/14
Full Changelog: https://github.com/bazelbuild/rules_shell/compare/v0.2.0...v0.3.0
Deps:
- bazel_features · version 1.18.0
- bazel_skylib · version 1.6.1
- platforms · version 0.0.10
Assets:
- rules_shell-v0.3.0.tar.gz · 22 KB · 10,050 downloads