mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Remove link LFS step in setup-project. (#1987)
This commit is contained in:
@@ -11,7 +11,6 @@ struct SetupProject: ParsableCommand {
|
||||
try setupGitHooks()
|
||||
try brewBundleInstall()
|
||||
try mintPackagesInstall()
|
||||
try linkGitLFS()
|
||||
try xcodegen()
|
||||
}
|
||||
|
||||
@@ -29,19 +28,6 @@ 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")
|
||||
|
||||
Reference in New Issue
Block a user