mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-11-14 14:57:02 +03:00
swiftformat
This commit is contained in:
parent
68f3a57d2c
commit
3cfd3ce816
@ -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 {
|
||||||
|
@ -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)"
|
||||||
|
Loading…
Reference in New Issue
Block a user