mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-25 11:32:33 +00:00
6f7469dd03
* add stardoc helpers * fix incorrect default template in stardoc_with_diff_test() * add stardoc helpers * fix failing build for docs.md; add templates; cleanup
2.6 KiB
Generated
2.6 KiB
Generated
params_file public API
params_file
params_file(name, out, args, data, newline, kwargs)
Generates a UTF-8 encoded params file from a list of arguments.
Handles variable substitutions for args.
Parameters
Name | Description | Default Value |
---|---|---|
name | Name of the rule. | none |
out | Path of the output file, relative to this package. | none |
args | Arguments to concatenate into a params file. Subject to 'Make variable' substitution. See https://docs.bazel.build/versions/main/be/make-variables.html.
|
[] |
data | Data for $(location) expansions in args. |
[] |
newline | Line endings to use. One of ["auto" , "unix" , "windows" ].
|
"auto" |
kwargs | undocumented named arguments | none |