2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-27 05:43:25 +00:00
bazel-skylib/rules/directory/BUILD
Matt 4d37916e68
Minor cleanup of directory rules. (#512)
They were previously missing default_applicable_licenses.
2024-05-29 08:09:09 +02:00

50 lines
951 B
Python

load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
package(default_applicable_licenses = ["//:license"])
licenses(["notice"])
# export bzl files for the documentation
exports_files(
glob(["*.bzl"]),
visibility = ["//:__subpackages__"],
)
bzl_library(
name = "directory",
srcs = ["directory.bzl"],
visibility = ["//visibility:public"],
deps = [
":providers",
"//lib:paths",
],
)
bzl_library(
name = "glob",
srcs = ["glob.bzl"],
visibility = ["//visibility:public"],
deps = [
":providers",
],
)
bzl_library(
name = "providers",
srcs = ["providers.bzl"],
visibility = ["//visibility:public"],
deps = [
"//rules/directory/private:glob",
"//rules/directory/private:paths",
],
)
bzl_library(
name = "subdirectory",
srcs = ["subdirectory.bzl"],
visibility = ["//visibility:public"],
deps = [
":providers",
],
)