2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-30 01:41:21 +00:00
bazel-lib/lib/copy_to_bin.bzl

20 lines
682 B
Python
Raw Permalink Normal View History

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",
_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",
)
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