Fixing locheck tool (#788)

* fixing locheck

* fixing locheck tool

* Revert "fixing locheck tool"

This reverts commit 9bb3dbcd70d1ecbc62b4289623b5f9e584929997.

* locheck install

* using the original code to get the directory

* adding swiftgen to download strings

* setup project on ci

* added Strings.swift to the path

* adding String.swift
This commit is contained in:
Mauro
2023-04-12 12:03:11 +02:00
committed by GitHub
parent 30a3efcf51
commit 8403b07874
6 changed files with 255 additions and 4 deletions
+5
View File
@@ -9,10 +9,15 @@ struct DownloadStrings: ParsableCommand {
func run() throws {
try localazyDownload()
try swiftgen()
}
private func localazyDownload() throws {
let json = allLanguages ? "localazy-all.json" : "localazy-en.json"
try Utilities.zsh("localazy download --config \(json)")
}
private func swiftgen() throws {
try Utilities.zsh("swiftgen config run --config Tools/SwiftGen/swiftgen-config.yml")
}
}