mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
21 lines
526 B
Swift
21 lines
526 B
Swift
|
|
public enum BuildConfiguration : String, CustomStringConvertible {
|
|
case debug, production
|
|
|
|
public static let current: BuildConfiguration = {
|
|
#if DEBUG
|
|
return .debug
|
|
#else
|
|
return .production
|
|
#endif
|
|
}()
|
|
|
|
public var description: String { return rawValue }
|
|
}
|
|
|
|
@objc public final class LKBuildConfiguration : NSObject {
|
|
|
|
override private init() { }
|
|
|
|
@objc public static var current: String { return BuildConfiguration.current.description }
|
|
}
|