2
0
Fork 0
mirror of https://github.com/bazelbuild/bazel-skylib synced 2024-11-27 05:43:25 +00:00
bazel-skylib/docs/select_file_doc.md
Alexandre Rostovtsev 99ffbbf8a4
Prepare release 1.6.0 (#496)
And take the opportunity to reformat docs using a more modern Stardoc release
2024-04-24 17:40:06 -04:00

1,021 B
Executable file

select_file() build rule implementation.

Selects a single file from the outputs of a target by given relative path.

select_file

select_file(name, srcs, subpath)

Selects a single file from the outputs of a target by given relative path

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
srcs The target producing the file among other outputs Label required
subpath Relative path to the file String required