mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
20 lines
448 B
Swift
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
|
|
}
|