2022-04-12 23:31:04 +00:00
|
|
|
"""A rule that copies source files to the output tree.
|
|
|
|
|
|
|
|
This rule uses a Bash command (diff) on Linux/macOS/non-Windows, and a cmd.exe
|
|
|
|
command (fc.exe) on Windows (no Bash is required).
|
|
|
|
|
|
|
|
Originally authored in rules_nodejs
|
|
|
|
https://github.com/bazelbuild/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
|
|
|
|
"""
|
|
|
|
|
|
|
|
load(
|
|
|
|
"//lib/private:copy_to_bin.bzl",
|
2022-04-13 20:55:41 +00:00
|
|
|
_copy_file_to_bin_action = "copy_file_to_bin_action",
|
|
|
|
_copy_files_to_bin_actions = "copy_files_to_bin_actions",
|
2022-04-12 23:31:04 +00:00
|
|
|
_copy_to_bin = "copy_to_bin",
|
|
|
|
)
|
|
|
|
|
2022-04-13 20:55:41 +00:00
|
|
|
copy_file_to_bin_action = _copy_file_to_bin_action
|
|
|
|
copy_files_to_bin_actions = _copy_files_to_bin_actions
|
2022-04-12 23:31:04 +00:00
|
|
|
copy_to_bin = _copy_to_bin
|