Update the tools to use swift-command-line-tools.

This commit is contained in:
Doug
2024-05-15 10:37:44 +01:00
committed by Doug
parent 5fe84f9c85
commit 8da1752493
11 changed files with 49 additions and 64 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
import ArgumentParser
import CommandLineTools
import Foundation
struct DownloadStrings: ParsableCommand {
@@ -14,10 +15,10 @@ struct DownloadStrings: ParsableCommand {
private func localazyDownload() throws {
let arguments = allLanguages ? " all" : ""
try Utilities.zsh("localazy download\(arguments)")
try Zsh.run(command: "localazy download\(arguments)")
}
private func swiftgen() throws {
try Utilities.zsh("swiftgen config run --config Tools/SwiftGen/swiftgen-config.yml")
try Zsh.run(command: "swiftgen config run --config Tools/SwiftGen/swiftgen-config.yml")
}
}