2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-26 04:30:24 +00:00

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, testonly = True,
srcs = [ srcs = [
"BUILD", "BUILD",
"//rules/private:test_deps",
] + glob(["*.bzl"]), ] + glob(["*.bzl"]),
visibility = ["//:__subpackages__"], # Needs skylib's root BUILD file for default_applicable_licenses visibility = ["//:__subpackages__"], # Needs skylib's root BUILD file for default_applicable_licenses
) )

View file

@ -49,6 +49,17 @@ bzl_library(
srcs = ["maprule_util.bzl"], srcs = ["maprule_util.bzl"],
) )
filegroup(
name = "test_deps",
testonly = True,
srcs = [
"BUILD",
] + glob(["*.bzl"]),
visibility = [
"//rules:__pkg__",
],
)
# The files needed for distribution # The files needed for distribution
filegroup( filegroup(
name = "distribution", name = "distribution",