Skip to content

Commit 03f9804

Browse files
ericastorTim 'mithro' Ansell
authored andcommitted
Fix vendoring test for Bazel 5.4.x compatibility
1 parent 270fad9 commit 03f9804

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dependency_support/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ genrule(
2424
outs = ["requirements.clean.bzl"],
2525
cmd = " | ".join([
2626
"cat $<",
27+
# Replace the bazel 6.0.0 specific comment with something that bazel 5.4.0 would produce.
28+
# This enables this example to be run as a test under bazel 5.4.0.
29+
"""sed -e 's#@rules_hdl//#@//#'""",
2730
]) + " >$@",
2831
)
2932

0 commit comments

Comments
 (0)