All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Add support for Bazel 8. See PR #91
-
The new experimental
sh_posix_hermetic_toolchain
rule provides a hermetic alternative tosh_posix_toolchain
based on binary bundles defined bysh_binaries
. See PR #34. -
Allow disabling the local posix toolchain under bzlmod See PR #50
- Mark stardoc as a dev_dependency See PR #52
0.3.0 - 2022-07-19
- The new
sh_binaries
rule can bundle multiple executable files tracked by Bazel into a single target that can be used in a genrule or a custom rule to access those tools, either through make variables in a genrule, or through theShBinariesInfo
provider. See issue #19.
0.2.0 - 2020-03-26
- Define appropriate
bzl_library
rules, so that rules that dependrules_sh
can generateStardoc
documentation. See PR #11 and Skydoc's deprecation for the motivation.
-
sh_posix_toolchain
now has a single attributecmds
, which is a string to stringdict
; instead of having one attribute per member ofposix.commands
. It is a breaking change if you were callingsh_posix_toolchain
directly.If you were calling this rule as follows:
sh_posix_toolchain(cat = "/bin/cat", wc = "/usr/bin/wc")
you should now do:
sh_posix_toolchain(cmds = { "cat": "/bin/cat", "wc": "/usr/bin/wc" })
0.1.1 - 2019-11-13
- Avoid finding non-POSIX compliant tools in
sh_posix_configure
on Windows. See #7.
0.1.0 - 2019-11-13
- Initial release, see
README.md
for an overview. See #1 for the discussion on naming.