Minor cleanup of directory rules. (#512)

They were previously missing default_applicable_licenses.
This commit is contained in:
Matt 2024-05-29 16:09:09 +10:00 committed by GitHub
parent f3c0026ec6
commit 4d37916e68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,7 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
package(default_applicable_licenses = ["//:license"])
licenses(["notice"])
# export bzl files for the documentation

View File

@ -1,5 +1,7 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
package(default_applicable_licenses = ["//:license"])
licenses(["notice"])
# export bzl files for the documentation
@ -11,13 +13,13 @@ exports_files(
bzl_library(
name = "glob",
srcs = ["glob.bzl"],
visibility = ["//visibility:public"],
visibility = ["//rules/directory:__pkg__"],
)
bzl_library(
name = "paths",
srcs = ["paths.bzl"],
visibility = ["//visibility:public"],
visibility = ["//rules/directory:__pkg__"],
deps = [
"//lib:paths",
],

View File

@ -4,6 +4,8 @@ load(":directory_test.bzl", "directory_test_suite")
load(":glob_test.bzl", "glob_test_suite")
load(":subdirectory_test.bzl", "subdirectory_test_suite")
package(default_applicable_licenses = ["@bazel_skylib//:license"])
directory(
name = "root",
srcs = glob(["testdata/**"]),