This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always capture command output and report package name
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
- Loading branch information
1 parent
d75229e
commit 87e2e4b
Showing
3 changed files
with
80 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters