Add test_deps to rules/private (#534)

This pattern was missed when rules/private was added.
This commit is contained in:
aiuto 2024-08-09 08:40:50 -04:00 committed by GitHub
parent fa66e6b15b
commit 5c071b5006
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -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
)

View File

@ -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",