Update visibility of files (#243)
Stardoc needs access to a file (with exports_files) in order to generate its documentation.
This commit is contained in:
parent
dfcfe82500
commit
2d0c651291
5
BUILD
5
BUILD
|
@ -4,10 +4,7 @@ licenses(["notice"])
|
|||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
exports_files([
|
||||
"LICENSE",
|
||||
"lib.bzl",
|
||||
])
|
||||
exports_files(["LICENSE"])
|
||||
|
||||
filegroup(
|
||||
name = "test_deps",
|
||||
|
|
|
@ -4,6 +4,12 @@ licenses(["notice"])
|
|||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
# export bzl files for the documentation
|
||||
exports_files(
|
||||
glob(["*.bzl"]),
|
||||
visibility = ["//:__subpackages__"],
|
||||
)
|
||||
|
||||
bzl_library(
|
||||
name = "collections",
|
||||
srcs = ["collections.bzl"],
|
||||
|
|
|
@ -75,3 +75,9 @@ filegroup(
|
|||
"//:__pkg__",
|
||||
],
|
||||
)
|
||||
|
||||
# export bzl files for the documentation
|
||||
exports_files(
|
||||
glob(["*.bzl"]),
|
||||
visibility = ["//:__subpackages__"],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue