Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.aspect.build/llms.txt

Use this file to discover all available pages before exploring further.

Documentation for @bazel_lib@v3.2.0 View source
A rule that provides file(s) specific via DefaultInfo from a given target’s DefaultInfo or OutputGroupInfo. See also select_file from bazel-skylib.

Rule: output_files

A rule that provides file(s) specific via DefaultInfo from a given target’s DefaultInfo or OutputGroupInfo

Attributes

name
name
required
A unique name for this target.
target
label
required
the target to look in for requested paths in its’ DefaultInfo or OutputGroupInfo
paths
list of strings
required
the paths of the file(s), relative to their roots, to provide via DefaultInfo from the given target’s DefaultInfo or OutputGroupInfo
output_group
string
default:"\"\""
if set, we look in the specified output group for paths instead of DefaultInfo

Function: make_output_files

Helper function to generate a output_files target and return its label.

Parameters

name
name
required
unique name for the generated output_files target
target
name
required
target attribute passed to generated output_files target
paths
name
required
paths attribute passed to generated output_files target
kwargs
string_list
parameters to pass to generated output_files target
Returns: The label name