Switch back to using the stable version of SwiftFormat. (#5850)

This commit is contained in:
Doug
2026-07-08 11:01:55 +01:00
committed by GitHub
parent 5fd4551099
commit 81b33da6ab
2 changed files with 4 additions and 13 deletions
+3 -4
View File
@@ -17,10 +17,9 @@ struct SetupProject: ParsableCommand {
}
func brewInstall() throws {
try Zsh.run(command: "brew install xcodegen swiftgen git-lfs sourcery mint pkl kiliankoe/formulae/swift-outdated localazy/tools/localazy peripheryapp/periphery/periphery")
// Install swiftformat from develop (for now), making sure to avoid conflicts with an existing versioned installation.
try Zsh.run(command: "source ci_scripts/ci_common.sh && install_swiftformat_head")
// Uninstall SwiftFormat from HEAD first if it is installed.
try Zsh.run(command: "if brew list --versions swiftformat | grep -q HEAD; then brew uninstall swiftformat; fi")
try Zsh.run(command: "brew install xcodegen swiftgen swiftformat git-lfs sourcery mint pkl kiliankoe/formulae/swift-outdated localazy/tools/localazy peripheryapp/periphery/periphery")
}
func mintPackagesInstall() throws {