Add remaining iOS 17 introspections. (#1806)

* Update compound.

* Update Ruby gems.

* Skip smudging in Fastlane.

* Link Git LFS for Xcode in setup-project.
This commit is contained in:
Doug
2023-09-29 17:29:27 +01:00
committed by GitHub
parent 6bc5a440b2
commit 56a9820ded
12 changed files with 69 additions and 43 deletions
+14
View File
@@ -11,6 +11,7 @@ struct SetupProject: ParsableCommand {
try setupGitHooks()
try brewBundleInstall()
try mintPackagesInstall()
try linkGitLFS()
try xcodegen()
}
@@ -28,6 +29,19 @@ struct SetupProject: ParsableCommand {
func mintPackagesInstall() throws {
try Utilities.zsh("mint install Asana/locheck")
}
func linkGitLFS() throws {
guard let gitPath = try Utilities.zsh("git --exec-path")?.replacingOccurrences(of: "\n", with: "") else { return }
let lfsPath = URL(fileURLWithPath: gitPath).appendingPathComponent("git-lfs").path
guard !FileManager.default.fileExists(atPath: lfsPath) else {
print("Git LFS already linked.")
return
}
try Utilities.zsh("ln -s \"$(which git-lfs)\" \"\(lfsPath)\"")
}
func xcodegen() throws {
try Utilities.zsh("xcodegen")