Files
XcodeGen/Sources/ProjectSpec/Config.swift
2018-09-25 21:08:11 +10:00

20 lines
448 B
Swift

import Foundation
import JSONUtilities
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
}