-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support --output=commands flag for aquery #24949
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
...java/com/google/devtools/build/lib/query2/aquery/ActionGraphTextOutputFormatterCallback.java
Outdated
Show resolved
Hide resolved
Do we print the lines in a particular order? I see that ninja does: "given a list of targets, print a list of commands which, if executed in order, may be used to rebuild those targets, assuming that all output files are out of date." |
No, it's just the iteration order used by |
Perhaps include a statement in the docs, saying something like "Do not rely on the order of output." |
This output format prints a list of build commands with one command per line, similar to `ninja -t commands`. This is frequently useful when debugging build issues. Fixes bazelbuild#22389.
Done. |
This output format prints a list of build commands with one command per line, similar to
ninja -t commands
. This is frequently useful when debugging build issues.Fixes #22389.