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"])
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
exports_files([
|
exports_files(["LICENSE"])
|
||||||
"LICENSE",
|
|
||||||
"lib.bzl",
|
|
||||||
])
|
|
||||||
|
|
||||||
filegroup(
|
filegroup(
|
||||||
name = "test_deps",
|
name = "test_deps",
|
||||||
|
|
|
@ -4,6 +4,12 @@ licenses(["notice"])
|
||||||
|
|
||||||
package(default_visibility = ["//visibility:public"])
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
|
# export bzl files for the documentation
|
||||||
|
exports_files(
|
||||||
|
glob(["*.bzl"]),
|
||||||
|
visibility = ["//:__subpackages__"],
|
||||||
|
)
|
||||||
|
|
||||||
bzl_library(
|
bzl_library(
|
||||||
name = "collections",
|
name = "collections",
|
||||||
srcs = ["collections.bzl"],
|
srcs = ["collections.bzl"],
|
||||||
|
|
|
@ -75,3 +75,9 @@ filegroup(
|
||||||
"//:__pkg__",
|
"//:__pkg__",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# export bzl files for the documentation
|
||||||
|
exports_files(
|
||||||
|
glob(["*.bzl"]),
|
||||||
|
visibility = ["//:__subpackages__"],
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue