mirror of
https://github.com/bazelbuild/bazel-skylib
synced 2024-11-27 05:43:25 +00:00
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")
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
||||||
|
|
||||||
|
package(default_applicable_licenses = ["//:license"])
|
||||||
|
|
||||||
licenses(["notice"])
|
licenses(["notice"])
|
||||||
|
|
||||||
# export bzl files for the documentation
|
# export bzl files for the documentation
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
||||||
|
|
||||||
|
package(default_applicable_licenses = ["//:license"])
|
||||||
|
|
||||||
licenses(["notice"])
|
licenses(["notice"])
|
||||||
|
|
||||||
# export bzl files for the documentation
|
# export bzl files for the documentation
|
||||||
|
@ -11,13 +13,13 @@ exports_files(
|
||||||
bzl_library(
|
bzl_library(
|
||||||
name = "glob",
|
name = "glob",
|
||||||
srcs = ["glob.bzl"],
|
srcs = ["glob.bzl"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//rules/directory:__pkg__"],
|
||||||
)
|
)
|
||||||
|
|
||||||
bzl_library(
|
bzl_library(
|
||||||
name = "paths",
|
name = "paths",
|
||||||
srcs = ["paths.bzl"],
|
srcs = ["paths.bzl"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//rules/directory:__pkg__"],
|
||||||
deps = [
|
deps = [
|
||||||
"//lib:paths",
|
"//lib:paths",
|
||||||
],
|
],
|
||||||
|
|
|
@ -4,6 +4,8 @@ load(":directory_test.bzl", "directory_test_suite")
|
||||||
load(":glob_test.bzl", "glob_test_suite")
|
load(":glob_test.bzl", "glob_test_suite")
|
||||||
load(":subdirectory_test.bzl", "subdirectory_test_suite")
|
load(":subdirectory_test.bzl", "subdirectory_test_suite")
|
||||||
|
|
||||||
|
package(default_applicable_licenses = ["@bazel_skylib//:license"])
|
||||||
|
|
||||||
directory(
|
directory(
|
||||||
name = "root",
|
name = "root",
|
||||||
srcs = glob(["testdata/**"]),
|
srcs = glob(["testdata/**"]),
|
||||||
|
|
Loading…
Reference in a new issue