Skip to content

Commit 883958b

Browse files
committed
chore: add load statement for rules_shell
1 parent ea1a220 commit 883958b

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

e2e/smoke/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("@rules_proto//proto:defs.bzl", "proto_library")
2+
load("@rules_shell//shell:sh_test.bzl", "sh_test")
23

34
proto_library(
45
name = "foo_proto",

e2e/smoke/MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
bazel_dep(name = "toolchains_protoc", version = "0.0.0")
22
bazel_dep(name = "rules_proto", version = "7.1.0")
3+
bazel_dep(name = "rules_shell", version = "0.4.1")
34

45
local_path_override(
56
module_name = "toolchains_protoc",

e2e/smoke/WORKSPACE.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ local_repository(
44
path = "../..",
55
)
66

7+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8+
9+
http_archive(
10+
name = "rules_shell",
11+
sha256 = "bc61ef94facc78e20a645726f64756e5e285a045037c7a61f65af2941f4c25e1",
12+
strip_prefix = "rules_shell-0.4.1",
13+
url = "https://github.com/bazelbuild/rules_shell/releases/download/v0.4.1/rules_shell-v0.4.1.tar.gz",
14+
)
15+
716
#---SNIP--- Below here is re-used in the workspace snippet published on releases
817

918
######################

0 commit comments

Comments
 (0)