Skip to content

Commit

Permalink
Export .bzl files in @bazel_tools//tools/build_defs/repo
Browse files Browse the repository at this point in the history
With this change it is now possible to create a `bzl_library` entry that has a `deps` entry for all its inputs.
  • Loading branch information
achew22 committed Oct 13, 2020
1 parent cd2209a commit 03f0252
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/build_defs/repo/BUILD.repo
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
exports_files(glob(["*.bzl"]))

filegroup(
name = "bzl_srcs",
srcs = glob(["*.bzl"]),
visibility = ["//tools/build_defs:__pkg__"],
)
)

0 comments on commit 03f0252

Please sign in to comment.