Release 0.2.0
0.2.0 - 2020-03-26
Added
- Define appropriate
bzl_library
rules, so that rules that dependrules_sh
can generateStardoc
documentation.
See PR #11 and Skydoc's deprecation for the motivation.
Changed
-
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" })
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_sh",
sha256 = "83a065ba6469135a35786eb741e17d50f360ca92ab2897857475ab17c0d29931",
strip_prefix = "rules_sh-0.2.0",
urls = ["https://github.com/tweag/rules_sh/archive/v0.2.0.tar.gz"],
)
load("@rules_sh//sh:repositories.bzl", "rules_sh_dependencies")
rules_sh_dependencies()