Skip to content

Commit 6c13dac

Browse files
UebelAndrealexeagle
authored andcommitted
fix(builtin): fixed missing dist targets (#3068)
1 parent fb2165c commit 6c13dac

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ bzl_library(
4040
name = "bzl",
4141
srcs = [
4242
"index.bzl",
43-
"index.for_docs.bzl",
4443
"providers.bzl",
4544
"version.bzl",
45+
# BEGIN-INTERNAL
46+
] + [
47+
"index.for_docs.bzl",
48+
# END-INTERNAL
4649
],
4750
visibility = ["//visibility:public"],
4851
deps = [

internal/generated_file_test/BUILD.bazel

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ bzl_library(
1313
write_file(
1414
name = "write_BUILD",
1515
out = "BUILD",
16-
content = ["""exports_files(["bundle.js"])"""],
16+
content = [
17+
"""load("@bazel_skylib//:bzl_library.bzl", "bzl_library")""",
18+
"""exports_files(["bundle.js"])""",
19+
"""bzl_library(name = "bzl", srcs = glob(["*.bzl"]), visibility = ["//visibility:public"])""",
20+
],
1721
)
1822

1923
filegroup(

internal/linker/BUILD.bazel

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# BEGIN-INTERNAL
21
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
2+
3+
# BEGIN-INTERNAL
34
load("//:index.bzl", "js_library")
45
load("//packages/typescript:checked_in_ts_project.bzl", "checked_in_ts_project")
56

@@ -26,12 +27,6 @@ js_library(
2627
deps = ["//internal/runfiles:runfiles_js"],
2728
)
2829

29-
bzl_library(
30-
name = "bzl",
31-
srcs = glob(["*.bzl"]),
32-
visibility = ["//visibility:public"],
33-
)
34-
3530
# END-INTERNAL
3631
exports_files([
3732
"index.js",
@@ -47,3 +42,9 @@ filegroup(
4742
],
4843
visibility = ["//:__pkg__"],
4944
)
45+
46+
bzl_library(
47+
name = "bzl",
48+
srcs = glob(["*.bzl"]),
49+
visibility = ["//visibility:public"],
50+
)

0 commit comments

Comments
 (0)