diff --git a/BUILD b/BUILD index 9999fb5..c0ccdcd 100644 --- a/BUILD +++ b/BUILD @@ -4,10 +4,7 @@ licenses(["notice"]) package(default_visibility = ["//visibility:public"]) -exports_files([ - "LICENSE", - "lib.bzl", -]) +exports_files(["LICENSE"]) filegroup( name = "test_deps", diff --git a/lib/BUILD b/lib/BUILD index 44acf46..c959bcc 100644 --- a/lib/BUILD +++ b/lib/BUILD @@ -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"], diff --git a/rules/BUILD b/rules/BUILD index f3cfe6c..9c6c047 100644 --- a/rules/BUILD +++ b/rules/BUILD @@ -75,3 +75,9 @@ filegroup( "//:__pkg__", ], ) + +# export bzl files for the documentation +exports_files( + glob(["*.bzl"]), + visibility = ["//:__subpackages__"], +)