mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-20 00:58:04 +03:00
Remove deprecations
This commit is contained in:
parent
4d458ad6e4
commit
25a4d48b83
@ -132,7 +132,6 @@ extension Project: Equatable {
|
||||
|
||||
extension Project {
|
||||
|
||||
@available(*, deprecated, message: "Use `Project.Spec` and `init(spec:basePath:)`.")
|
||||
public init(basePath: Path, jsonDictionary: JSONDictionary) throws {
|
||||
let spec = Project.Spec(relativePath: Path(), jsonDictionary: jsonDictionary)
|
||||
try self.init(spec: spec, basePath: basePath)
|
||||
|
@ -11,7 +11,6 @@ extension Project {
|
||||
try self.init(spec: template, basePath: basePath)
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "Use `Project.Spec` for loading files from disk.")
|
||||
public static func loadDictionary(path: Path) throws -> JSONDictionary {
|
||||
return try Project.Spec(filename: path.lastComponent, basePath: path.parent()).jsonDictionary
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user