blob: bfa0598a09cb323ead4a6b3d434701577a471b2b [file] [log] [blame]
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",
],
)
# The files needed for distribution
filegroup(
name = "distribution",
srcs = [
"BUILD",
] + glob(["*.bzl"]),
visibility = [
"//:__pkg__",
],
)