I want to know how to dump something (say, some string) to local disk.
I found there's actions.write API , but seems it only creates an action, but not executes it.
I'm wondering how I could execute an action in starlark?
I want to know how to dump something (say, some string) to local disk.
I found there's actions.write API , but seems it only creates an action, but not executes it.
I'm wondering how I could execute an action in starlark?
Copyright © 2021 Jogjafile Inc.
Bazel supports dumping parameters into a parameter file. Doc reference: https://bazel.build/rules/lib/builtins/Args#use_param_file
Example code: