Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot use -f with source file from stdin #1335

Open
RussellSprouts opened this issue Feb 20, 2025 · 0 comments
Open

Cannot use -f with source file from stdin #1335

RussellSprouts opened this issue Feb 20, 2025 · 0 comments

Comments

@RussellSprouts
Copy link

RussellSprouts commented Feb 20, 2025

I have a long series of commands I'd like to run on some BUILD file text. The commands sometimes have different targets, so I can't pass the commands on the commandline. I tried writing my commands to a temp file, and then using -f. In the file, I use -:__pkg__ to operate on stdin. However, I get this error:

-/BUILD: file not found or not readable

It seems that - is not recognized in a command file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant