Skip to content

Commit

Permalink
Add test_deps to rules/private (#534)
Browse files Browse the repository at this point in the history
This pattern was missed when rules/private was added.
  • Loading branch information
aiuto authored Aug 9, 2024
1 parent fa66e6b commit 5c071b5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions rules/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ filegroup(
testonly = True,
srcs = [
"BUILD",
"//rules/private:test_deps",
] + glob(["*.bzl"]),
visibility = ["//:__subpackages__"], # Needs skylib's root BUILD file for default_applicable_licenses
)
Expand Down
11 changes: 11 additions & 0 deletions rules/private/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ bzl_library(
srcs = ["maprule_util.bzl"],
)

filegroup(
name = "test_deps",
testonly = True,
srcs = [
"BUILD",
] + glob(["*.bzl"]),
visibility = [
"//rules:__pkg__",
],
)

# The files needed for distribution
filegroup(
name = "distribution",
Expand Down

0 comments on commit 5c071b5

Please sign in to comment.