• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

gitリポジトリのurlを貼り付けるだけでアプリケーションのビルドを実行するアプリ。 macOS用


Commit MetaInfo

Revisión6046d6ccc4925948a3f9b6b91b0e727ff0d0f7f2 (tree)
Tiempo2018-04-08 13:16:50
Autormasakih <masakih@user...>
Commitermasakih

Log Message

charhageが必要かチェックするようにした

Cambiar Resumen

Diferencia incremental

--- a/AppBuilderWithGit/ViewController.swift
+++ b/AppBuilderWithGit/ViewController.swift
@@ -129,10 +129,17 @@ extension ViewController {
129129
130130 private func carthage(_ url: URL) {
131131
132- self.message = "Checking Carthage"
132+ message = "Checking Carthage."
133133
134134 let carthage = Carthage(url)
135135
136+ guard carthage.checkCarthage() else {
137+
138+ return
139+ }
140+
141+ message = "Building frameworks with Carthage."
142+
136143 carthage.execute()
137144 }
138145
@@ -141,10 +148,10 @@ extension ViewController {
141148 message = "Building Project."
142149
143150 do {
144- guard let builder = ProjectBuilder(url)
145- else {
146- message = "Fail build because project file is not found."
147- return
151+ guard let builder = ProjectBuilder(url) else {
152+
153+ message = "Fail build because project file is not found."
154+ return
148155 }
149156
150157 try builder.build()