-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add Build Success Message in Console #2971
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
Add Build Success Message in Console #2971
Conversation
@swift-ci please smoke test |
Thank you for putting up this PR! I'm wondering if the message should maybe say "Build Succeeded" or "Build Failed", depending on the outcome? |
fa04557
to
8aca8f9
Compare
@swift-ci please smoke test |
8aca8f9
to
4d4aff4
Compare
@swift-ci please smoke test |
4d4aff4
to
401a671
Compare
rdar://69970428 Add Build Failed message
401a671
to
c0d8b6b
Compare
@swift-ci please smoke test |
Thanks, @federicobucchi. Given that there's some work required in the existing code to make a better message possible, I think it makes sense to merge this now and then do the rest as follow-on PRs. This turned out to be a lot more difficult to implement than anticipated. |
rdar://69970428
After running
swift build
the final output could display a ‘success message’ (if the build is successful) and some basic infos about where the generated binaries are located.Currently, after a successful build, it ends with exit code 0 and the output is:
[476/476] Linking swift-package
Result after changes:
Success: