Closed farcop closed 9 months ago
genrule( name = "commands_list", ... ) multirun( name = "sign", commands = ":commands_list", )
I thought it should be easy to do, but commands is a list of strings and I cant understand how to split genrule output to list.
It's not possible to read files during the analysis phase in bazel. One option instead would be to create a repository_rule that reads the file and generates a BUILD file with each command you want
I thought it should be easy to do, but commands is a list of strings and I cant understand how to split genrule output to list.