SR-11033 Add option in Swift driver to disable color diagnostics
Issue Description:
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.
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?
Additional Detail from JIRA
md5: 3941be74def4d4fbd9a2a72319675103
relates to:
Issue Description:
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: