gitリポジトリのurlを貼り付けるだけでアプリケーションのビルドを実行するアプリ。 macOS用
Revisão | 5fe03cec24f11312c054310ba036679bcf2f7b92 (tree) |
---|---|
Hora | 2017-08-12 17:23:23 |
Autor | masakih <masakih@user...> |
Commiter | masakih |
変数名を修正
@@ -71,7 +71,7 @@ final class Git { | ||
71 | 71 | private func excuteGit(workingURL: URL, args: [String]) throws { |
72 | 72 | |
73 | 73 | let xcodeURL = NSApplication.appDelegate.xcodeURL |
74 | - guard let builderURL = xcodeURL?.appendingPathComponent("/Contents/Developer/usr/bin/git") else { | |
74 | + guard let gitURL = xcodeURL?.appendingPathComponent("/Contents/Developer/usr/bin/git") else { | |
75 | 75 | |
76 | 76 | throw GitError.other("git is not found.") |
77 | 77 | } |
@@ -83,7 +83,7 @@ final class Git { | ||
83 | 83 | } |
84 | 84 | |
85 | 85 | let git = Process() |
86 | - git.launchPath = builderURL.path | |
86 | + git.launchPath = gitURL.path | |
87 | 87 | git.arguments = args |
88 | 88 | |
89 | 89 | git.currentDirectoryPath = workingURL.path |