From 5c071b5006bb9799981d04d74a28bdee2f000d4a Mon Sep 17 00:00:00 2001 From: aiuto Date: Fri, 9 Aug 2024 08:40:50 -0400 Subject: [PATCH] Add test_deps to rules/private (#534) This pattern was missed when rules/private was added. --- rules/BUILD | 1 + rules/private/BUILD | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/rules/BUILD b/rules/BUILD index 293fd035..ee04c770 100644 --- a/rules/BUILD +++ b/rules/BUILD @@ -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 ) diff --git a/rules/private/BUILD b/rules/private/BUILD index a876c7c0..44f1509c 100644 --- a/rules/private/BUILD +++ b/rules/private/BUILD @@ -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",