Skip to content

Commit 96d689a

Browse files
authored
Remove animated progress bar from SwiftBuild output (#9180)
This change removes the progress bar from the output generated when we use the SwiftBuild build system in SwiftPM. The progress bar tears and affects the format of the emitted logs and diagnostics.
1 parent ba4bc64 commit 96d689a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/SwiftBuildSupport/SwiftBuildSystem.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,9 @@ public final class SwiftBuildSystem: SPMBuildCore.BuildSystem {
376376
return try await withService(connectionMode: .inProcessStatic(swiftbuildServiceEntryPoint)) { service in
377377
let derivedDataPath = self.buildParameters.dataPath
378378

379-
let progressAnimation = ProgressAnimation.percent(
379+
let progressAnimation = ProgressAnimation.ninja(
380380
stream: self.outputStream,
381-
verbose: self.logLevel.isVerbose,
382-
header: "",
383-
isColorized: self.buildParameters.outputParameters.isColorized
381+
verbose: self.logLevel.isVerbose
384382
)
385383

386384
var serializedDiagnosticPathsByTargetName: [String: [Basics.AbsolutePath]] = [:]

0 commit comments

Comments
 (0)