bazel-lib/e2e/write_source_files/BUILD.bazel

11 lines
321 B
Python

load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_files")
# This tests that the "in" file to write_source_files can be a
# label to an external repository target when bzlmod is enabled.
write_source_files(
name = "write_external",
files = {
"foobar.txt": "@test//:foobar.txt",
},
)