mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
27 lines
585 B
Swift
27 lines
585 B
Swift
//
|
|
// SettingsPresetFile.swift
|
|
// XcodeGen
|
|
//
|
|
// Created by Yonas Kolb on 27/7/17.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import xcodeproj
|
|
|
|
public enum SettingsPresetFile {
|
|
case config(ConfigType)
|
|
case platform(Platform)
|
|
case product(PBXProductType)
|
|
case base
|
|
|
|
var path: String {
|
|
switch self {
|
|
case let .config(config): return "Configs/\(config.rawValue)"
|
|
case let .platform(platform): return "Platforms/\(platform.rawValue)"
|
|
case let .product(product): return "Products/\(product.rawValue)"
|
|
case .base: return "base"
|
|
}
|
|
}
|
|
}
|