File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Sources/SwiftBuildSupport Expand file tree Collapse file tree 2 files changed +6
-2
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
}
Original file line number Diff line number Diff line change @@ -1582,7 +1582,7 @@ final class PluginTests {
1582
1582
try await fixture ( name: " Miscellaneous/Plugins/MySourceGenPluginUsingURLBasedAPI " ) { fixturePath in
1583
1583
let ( stdout, _) = try await executeSwiftBuild (
1584
1584
fixturePath,
1585
- configuration: . debug,
1585
+ configuration: . debug, extraArgs : [ " -very-verbose " ] ,
1586
1586
buildSystem: . swiftbuild,
1587
1587
)
1588
1588
#expect( stdout. contains ( " Build complete! " ) , " stdout: \n \( stdout) " )
You can’t perform that action at this time.
0 commit comments