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?
to your account
Swiftc outputs nice colored text with it's error messages. The swift package manager, when run with 'swift run', outputs uncolored text except for the last line, which it adds to the swiftc output.
I'm running on Ubuntu 16.04.
The text was updated successfully, but these errors were encountered:
The compiler currently has an internal option to force color diagnostics even when output is being captured, but no driver-level option. It would be easy to add, though.
Sorry, something went wrong.
I believe this was fixed by apple/swift-package-manager#1391
@belkadan We're using `-Xfrontend -color-diagnostics` to force the color, let me know if that is incorrect.
Well, SwiftPM shouldn't really rely on frontend options. It's not wrong but it could be more right. Maybe this bug could be used to add support to the compiler driver and get SwiftPM to drop the -Xfrontend?
Comment by Charles (JIRA)
Yep! This was fixed by updating to the non-release version of swift.
No branches or pull requests