Skip to content

Conversation

@compnerd
Copy link
Member

This pull request refactors the output messages in the Get-Dependencies function in utils/build.ps1 to improve clarity and consistency. It introduces a new Write-Success helper function for standardized success messages and replaces many previous verbose Write-Output statements with this new format. Additionally, several unnecessary or redundant output lines have been commented out to reduce noise during dependency extraction and installation.

Output improvements:

  • Added a Write-Success function that prints a standardized success message after each dependency is installed or extracted, improving clarity and consistency.
  • Replaced many Write-Output statements with calls to Write-Success for dependencies such as syft, WiX, sccache, GNUWin32 make, Swift Toolchain, Python, pip, Python modules, Android NDK, and flex/bison. [1] [2] [3] [4] [5] [6] [7]

Noise reduction and code cleanup:

  • Commented out several verbose Write-Output statements related to extraction and installation status, reducing console clutter during builds. [1] [2] [3] [4] [5] [6]
  • Minor update to suppress output from $Enumerator.MoveNext() by piping to Out-Null in Invoke-BuildStep.

This cleans up the `Get-Dependencies` output to avoid the extraneous
`True` that is printed.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

This cleans up the output when fetching the dependencies. It isn't
perfect for interactive use, but makes it easier to read what happened.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

1 similar comment
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd merged commit a42fb1e into swiftlang:main Oct 20, 2025
3 checks passed
@compnerd compnerd deleted the status branch October 20, 2025 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant