Minor cleanup of directory rules. (#512)
They were previously missing default_applicable_licenses.
This commit is contained in:
parent
f3c0026ec6
commit
4d37916e68
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
],
|
||||
|
|
|
@ -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/**"]),
|
||||
|
|
Loading…
Reference in New Issue