You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
Moving the output of the package name til the completion of the compilation, #437 now causes gb to not print the name of the package if there was a compilation failure
It's not clear which package gb.go belongs to. This is because the compile failure happens in an action below the final action in gb.Compile, so the action is skipped, skipping the logging.
This may be ameliorated if #406 is addressed, but it might need a direct fix.
The text was updated successfully, but these errors were encountered:
Fixes#440
Prior to #437 the name of the package under compile or test would be
printed *before* the operation started. This was a problem, because the
compilation output could occur later, and not line up with the package
name.
After #437, package name output was surpressed until the compile/test
action completed successfully. This helped improve the output for tests
but as the overall action, the print would never occur, only the output
to stdout from the child process.
This PR solves the problem at the source by delegating the responsibility
for printing the name of the package before any child output. If all
actions complete, then the final action in the set will print the name
of the package.
As it is now unused, `context.run` has been removed.
TODO:
- [ ] decide if the output should go to stderr, not stdout
- [ ] decide if we should include a # prefix as the go tool does
Moving the output of the package name til the completion of the compilation, #437 now causes gb to not print the name of the package if there was a compilation failure
It's not clear which package gb.go belongs to. This is because the compile failure happens in an action below the final action in gb.Compile, so the action is skipped, skipping the logging.
This may be ameliorated if #406 is addressed, but it might need a direct fix.
The text was updated successfully, but these errors were encountered: