File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Sources/SwiftBuildSupport Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,8 @@ public final class SwiftBuildSystem: SPMBuildCore.BuildSystem {
532
532
let startedInfo = try buildState. completed ( task: info)
533
533
if info. result != . success {
534
534
self . observabilityScope. emit ( severity: . error, message: " \( startedInfo. ruleInfo) failed with a nonzero exit code. Command line: \( startedInfo. commandLineDisplayString ?? " <no command line> " ) " )
535
+ } else {
536
+ self . observabilityScope. emit ( severity: . info, message: " \( startedInfo. ruleInfo) - Command line: \( startedInfo. commandLineDisplayString ?? " <no command line> " ) " )
535
537
}
536
538
let targetInfo = try buildState. target ( for: startedInfo)
537
539
self . delegate? . buildSystem ( self , didFinishCommand: BuildSystemCommand ( startedInfo, targetInfo: targetInfo) )
@@ -546,8 +548,10 @@ public final class SwiftBuildSystem: SPMBuildCore.BuildSystem {
546
548
break
547
549
case . buildDiagnostic, . targetDiagnostic, . taskDiagnostic:
548
550
break // deprecated
549
- case . buildOutput, . targetOutput, . taskOutput :
551
+ case . buildOutput, . targetOutput:
550
552
break // deprecated
553
+ case . taskOutput( let info) :
554
+ self . observabilityScope. emit ( severity: . info, message: info. data)
551
555
@unknown default :
552
556
break
553
557
}
You can’t perform that action at this time.
0 commit comments