From 975a933e246a91788b83b249ad74fc9214bda8ae Mon Sep 17 00:00:00 2001 From: Tobias Schlatter Date: Thu, 30 Nov 2023 19:58:48 +0100 Subject: [PATCH] docs: fix load path for copy_file_to_bin_action (#673) --- docs/copy_to_bin.md | 2 +- lib/private/copy_to_bin.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/copy_to_bin.md b/docs/copy_to_bin.md index 6b94b22..c39aae9 100644 --- a/docs/copy_to_bin.md +++ b/docs/copy_to_bin.md @@ -29,7 +29,7 @@ To use `copy_file_to_bin_action` in your own rules, you need to include the tool in your rule definition. For example: ```starlark -load("@aspect_bazel_lib//lib:copy_file.bzl", "COPY_FILE_TO_BIN_TOOLCHAINS") +load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "COPY_FILE_TO_BIN_TOOLCHAINS") my_rule = rule( ..., diff --git a/lib/private/copy_to_bin.bzl b/lib/private/copy_to_bin.bzl index a791dda..2262db4 100644 --- a/lib/private/copy_to_bin.bzl +++ b/lib/private/copy_to_bin.bzl @@ -32,7 +32,7 @@ def copy_file_to_bin_action(ctx, file): in your rule definition. For example: ```starlark - load("@aspect_bazel_lib//lib:copy_file.bzl", "COPY_FILE_TO_BIN_TOOLCHAINS") + load("@aspect_bazel_lib//lib:copy_to_bin.bzl", "COPY_FILE_TO_BIN_TOOLCHAINS") my_rule = rule( ...,