Skip to content

Commit a362339

Browse files
authored
fix: add missing api distribution target (bazel-contrib#2464)
The distribution file groups are mostly used by integration tests, not releases, so these filegroups missing doesn't usually cause a problem. This was found when importing rules_python into Google, where filegroups of the rules sources are fed into various tests.
1 parent d0c1555 commit a362339

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/private/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ licenses(["notice"])
3030
filegroup(
3131
name = "distribution",
3232
srcs = glob(["**"]) + [
33+
"//python/private/api:distribution",
3334
"//python/private/proto:distribution",
3435
"//python/private/pypi:distribution",
3536
"//python/private/whl_filegroup:distribution",

python/private/api/BUILD.bazel

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ package(
1919
default_visibility = ["//:__subpackages__"],
2020
)
2121

22+
filegroup(
23+
name = "distribution",
24+
srcs = glob(["**"]),
25+
)
26+
2227
py_common_api(
2328
name = "py_common_api",
2429
# NOTE: Not actually public. Implicit dependency of public rules.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy