bazel-lib/lib/copy_to_directory.bzl

22 lines
693 B
Python
Raw Normal View History

"""Copies files and directories to an output directory.
Files and directories can be arranged as needed in the output directory using
the `root_paths`, `exclude_prefixes` and `replace_prefixes` attributes.
"""
load(
"//lib/private:copy_to_directory.bzl",
2022-06-28 06:46:00 +00:00
_copy_to_directory_action = "copy_to_directory_action",
_copy_to_directory_lib = "copy_to_directory_lib",
)
# export the starlark library as a public API
copy_to_directory_lib = _copy_to_directory_lib
2022-06-28 06:46:00 +00:00
copy_to_directory_action = _copy_to_directory_action
copy_to_directory = rule(
implementation = _copy_to_directory_lib.impl,
provides = _copy_to_directory_lib.provides,
attrs = _copy_to_directory_lib.attrs,
)