chore: update old reference to aspect-build/bazel-lib (#962)

This commit is contained in:
Greg Magolan 2024-10-13 09:58:26 -07:00 committed by GitHub
parent f0e8c006c0
commit 0ed8bdd8ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

2
docs/copy_to_bin.md generated
View File

@ -6,7 +6,7 @@ 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). command (fc.exe) on Windows (no Bash is required).
Originally authored in rules_nodejs Originally authored in rules_nodejs
https://github.com/bazelbuild/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl https://github.com/bazel-contrib/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
<a id="copy_file_to_bin_action"></a> <a id="copy_file_to_bin_action"></a>

View File

@ -4,7 +4,7 @@ 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). command (fc.exe) on Windows (no Bash is required).
Originally authored in rules_nodejs Originally authored in rules_nodejs
https://github.com/bazelbuild/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl https://github.com/bazel-contrib/rules_nodejs/blob/8b5d27400db51e7027fe95ae413eeabea4856f8e/internal/common/copy_to_bin.bzl
""" """
load( load(

View File

@ -224,7 +224,7 @@ _copy_to_directory_attr = {
doc = _copy_to_directory_attr_doc["out"], doc = _copy_to_directory_attr_doc["out"],
), ),
# TODO(3.0): Remove this attribute and do not add directory to runfiles by default. # TODO(3.0): Remove this attribute and do not add directory to runfiles by default.
# https://github.com/aspect-build/bazel-lib/issues/748 # https://github.com/bazel-contrib/bazel-lib/issues/748
"add_directory_to_runfiles": attr.bool( "add_directory_to_runfiles": attr.bool(
default = True, default = True,
doc = _copy_to_directory_attr_doc["add_directory_to_runfiles"], doc = _copy_to_directory_attr_doc["add_directory_to_runfiles"],

View File

@ -20,7 +20,7 @@ load("//lib/private:paths.bzl", "paths")
# Equivalent of the BASH_RLOCATION_FUNCTION in paths.bzl. # Equivalent of the BASH_RLOCATION_FUNCTION in paths.bzl.
# Use this to write actions that don't require bash. # Use this to write actions that don't require bash.
# Originally by @meteorcloudy in # Originally by @meteorcloudy in
# https://github.com/bazelbuild/rules_nodejs/commit/f06553a # https://github.com/bazel-contrib/rules_nodejs/commit/f06553a
BATCH_RLOCATION_FUNCTION = r""" BATCH_RLOCATION_FUNCTION = r"""
rem Usage of rlocation function: rem Usage of rlocation function:
rem call :rlocation <runfile_path> <abs_path> rem call :rlocation <runfile_path> <abs_path>