mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Removed LocalSwiftPackage
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
import Foundation
|
||||
import XcodeProj
|
||||
import JSONUtilities
|
||||
import Version
|
||||
|
||||
public struct LocalSwiftPackage: Equatable {
|
||||
public let path: String
|
||||
|
||||
public init(path: String) {
|
||||
self.path = path
|
||||
}
|
||||
}
|
||||
|
||||
extension LocalSwiftPackage: JSONObjectConvertible {
|
||||
public init(jsonDictionary: JSONDictionary) throws {
|
||||
path = try jsonDictionary.json(atKeyPath: "path")
|
||||
}
|
||||
}
|
||||
|
||||
extension LocalSwiftPackage: JSONEncodable {
|
||||
public func toJSONValue() -> Any {
|
||||
var dictionary: JSONDictionary = [:]
|
||||
dictionary["path"] = path
|
||||
|
||||
return dictionary
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user