• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

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

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


Commit MetaInfo

修订版cca9cab03904726392e2eb9995f9b54d08e08981 (tree)
时间2018-04-08 11:59:16
作者masakih <masakih@user...>
Commitermasakih

Log Message

Carthageを実行してからプロジェクトをビルドするようにした

更改概述

差异

--- a/AppBuilderWithGit/ViewController.swift
+++ b/AppBuilderWithGit/ViewController.swift
@@ -112,6 +112,8 @@ extension ViewController {
112112 case .none:
113113 self.message = "Finish cloning"
114114
115+ self.carthage(gitCloner.repository)
116+
115117 self.build(gitCloner.repository)
116118
117119 case let .gitError(stat, mess):
@@ -125,6 +127,15 @@ extension ViewController {
125127 }
126128 }
127129
130+ private func carthage(_ url: URL) {
131+
132+ self.message = "Checking Carthage"
133+
134+ let carthage = Carthage(url)
135+
136+ carthage.execute()
137+ }
138+
128139 private func build(_ url: URL) {
129140
130141 message = "Building Project."