2
0
Fork 0
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:
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") 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

View file

@ -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",
], ],

View file

@ -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/**"]),