Skip to content

Commit a6af7c1

Browse files
committed
Add rules_shell to the pip_parse vendoring example
1 parent d5ffc6b commit a6af7c1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

examples/pip_parse_vendored/WORKSPACE

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,19 @@ pip_parse(
3939
load("//:requirements.bzl", "install_deps")
4040

4141
install_deps()
42+
43+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
44+
45+
# See https://github.com/bazelbuild/rules_shell/releases/tag/v0.2.0
46+
http_archive(
47+
name = "rules_shell",
48+
sha256 = "410e8ff32e018b9efd2743507e7595c26e2628567c42224411ff533b57d27c28",
49+
strip_prefix = "rules_shell-0.2.0",
50+
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.2.0/rules_shell-v0.2.0.tar.gz",
51+
)
52+
53+
load("@rules_shell//shell:repositories.bzl", "rules_shell_dependencies", "rules_shell_toolchains")
54+
55+
rules_shell_dependencies()
56+
57+
rules_shell_toolchains()

0 commit comments

Comments
 (0)