mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-20 09:08:46 +03:00
19 lines
360 B
Swift
19 lines
360 B
Swift
import Foundation
|
|
|
|
public enum Platform: String {
|
|
case iOS
|
|
case watchOS
|
|
case tvOS
|
|
case macOS
|
|
public var carthageDirectoryName: String {
|
|
switch self {
|
|
case .macOS:
|
|
return "Mac"
|
|
default:
|
|
return rawValue
|
|
}
|
|
}
|
|
|
|
public static var all: [Platform] = [.iOS, .tvOS, .watchOS, .macOS]
|
|
}
|