Skip to content

Commit

Permalink
Fix //stardoc:distro_bins empty glob
Browse files Browse the repository at this point in the history
For a ruleset like rules_apple that still supports Bazel 6, fix support on pre-`0.7.0` releases by strictly allowing an empty glob on the `//stardoc:distro_bins` to fix an issue like bazelbuild/rules_apple#2555.

Signed-off-by: Matt Robinson <[email protected]>
mattrobmattrob committed Oct 10, 2024

Verified

This commit was signed with the committer’s verified signature.
mattrobmattrob Matt Robinson
1 parent 99421bb commit 5f92c74
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stardoc/BUILD
Original file line number Diff line number Diff line change
@@ -85,6 +85,9 @@ filegroup(
# Binaries needed for release tarball.
filegroup(
name = "distro_bins",
srcs = glob(["*.jar"]),
srcs = glob(
["*.jar"],
allow_empty = True,
),
visibility = ["//:__pkg__"],
)

0 comments on commit 5f92c74

Please sign in to comment.