swiftformat

This commit is contained in:
Yonas Kolb 2017-08-25 19:18:02 +02:00
parent 68f3a57d2c
commit 3cfd3ce816
4 changed files with 21 additions and 24 deletions

View File

@ -138,7 +138,6 @@ protocol BuildAction: Equatable {
init(config: String) init(config: String)
} }
extension Scheme.Run: JSONObjectConvertible { extension Scheme.Run: JSONObjectConvertible {
public init(jsonDictionary: JSONDictionary) throws { public init(jsonDictionary: JSONDictionary) throws {

View File

@ -100,7 +100,6 @@ public class ProjectGenerator {
} }
} }
let scripts = target.prebuildScripts + target.postbuildScripts let scripts = target.prebuildScripts + target.postbuildScripts
for script in scripts { for script in scripts {
if case let .path(pathString) = script.script { if case let .path(pathString) = script.script {
@ -228,8 +227,7 @@ public class ProjectGenerator {
let specScheme = Scheme(name: schemeName, targets: [Scheme.BuildTarget(target: target.name)], debugConfig: debugConfig.name, releaseConfig: releaseConfig.name) let specScheme = Scheme(name: schemeName, targets: [Scheme.BuildTarget(target: target.name)], debugConfig: debugConfig.name, releaseConfig: releaseConfig.name)
let scheme = try generateScheme(specScheme, pbxProject: pbxProject, tests: scheme.testTargets) let scheme = try generateScheme(specScheme, pbxProject: pbxProject, tests: scheme.testTargets)
xcschemes.append(scheme) xcschemes.append(scheme)
} } else {
else {
for configVariant in scheme.configVariants { for configVariant in scheme.configVariants {
let schemeName = "\(target.name) \(configVariant)" let schemeName = "\(target.name) \(configVariant)"