Skip to content

Latest commit

 

History

History
executable file
·
28 lines (16 loc) · 1.06 KB

select_file_doc.md

File metadata and controls

executable file
·
28 lines (16 loc) · 1.06 KB

select_file() build rule implementation.

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

select_file

load("@bazel_skylib//rules:select_file.bzl", "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