Skip to content

Commit

Permalink
Fix vendoring test for Bazel 5.4.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ericastor authored and mithro committed Oct 4, 2023
1 parent 270fad9 commit 03f9804
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dependency_support/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ genrule(
outs = ["requirements.clean.bzl"],
cmd = " | ".join([
"cat $<",
# Replace the bazel 6.0.0 specific comment with something that bazel 5.4.0 would produce.
# This enables this example to be run as a test under bazel 5.4.0.
"""sed -e 's#@rules_hdl//#@//#'""",
]) + " >$@",
)

Expand Down

0 comments on commit 03f9804

Please sign in to comment.