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
params_file public API

Function: params_file

Generates a UTF-8 encoded params file from a list of arguments. Handles variable substitutions for args.

Parameters

name
name
required
Name of the rule.
out
name
required
Path of the output file, relative to this package.
args
name
default:"[]"
Arguments to concatenate into a params file.
data
name
default:"[]"
Data for $(location) expansions in args.
newline
name
default:"auto"
Line endings to use. One of ["auto", "unix", "windows"].
  • "auto" for platform-determined
  • "unix" for LF
  • "windows" for CRLF
kwargs
string_list
undocumented named arguments