Implemented the OpenProjectTask task in the library target.
This commit is contained in:
@@ -2,3 +2,19 @@ public enum IDE: String {
|
||||
case vscode
|
||||
case xcode
|
||||
}
|
||||
|
||||
// MARK: - Extension
|
||||
|
||||
extension IDE {
|
||||
|
||||
// MARK: Functions
|
||||
|
||||
static func random() -> IDE {
|
||||
.allCases.randomElement() ?? .xcode
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// MARK: - CaseIterable
|
||||
|
||||
extension IDE: CaseIterable {}
|
||||
|
||||
Reference in New Issue
Block a user