Files
XcodeGen/Sources/ProjectSpec/Config.swift
T
2018-05-13 19:05:32 +10:00

21 lines
462 B
Swift

import Foundation
import JSONUtilities
import xcproj
public struct Config: Equatable {
public var name: String
public var type: ConfigType?
public init(name: String, type: ConfigType? = nil) {
self.name = name
self.type = type
}
public static var defaultConfigs: [Config] = [Config(name: "Debug", type: .debug), Config(name: "Release", type: .release)]
}
public enum ConfigType: String {
case debug
case release
}