Skip to content

Commit 3799095

Browse files
authored
refactor stream output and progress bars (part 1) (#5577)
motivation: continue cleanup work, fixing issues when diagnositics output ay interleave with deelgates writing directly to the output or reportig progress changes: * change ToolWorkspaceDelegate to use provided output and progress handlers instead of wirting to OutputStream directly * add print and progress handlers to SwiftToolObservabilityHandler, including a serial queue to maange the sequence of outputing to the output stream * adjust tests to wait on diagnostics when necessary given the queue setup
1 parent e9aa317 commit 3799095

File tree

3 files changed

+164
-156
lines changed

3 files changed

+164
-156
lines changed

Sources/Build/BuildOperation.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ public final class BuildOperation: PackageStructureDelegate, SPMBuildCore.BuildS
302302
fileSystem: self.fileSystem
303303
)
304304

305-
306305
// Surface any diagnostics from build tool plugins.
307306
for (target, results) in buildToolPluginInvocationResults {
308307
// There is one result for each plugin that gets applied to a target.

0 commit comments

Comments
 (0)