mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
Replace projectReference.path as relativePath correctly
This commit is contained in:
parent
99ce87db58
commit
ce92dd69b4
@ -223,6 +223,7 @@ extension Project: PathContainer {
|
||||
.object("targets", Target.pathProperties),
|
||||
.object("targetTemplates", Target.pathProperties),
|
||||
.object("aggregateTargets", AggregateTarget.pathProperties),
|
||||
.object("projectReferences", ProjectReference.pathProperties),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,17 @@ public struct ProjectReference: Hashable {
|
||||
}
|
||||
}
|
||||
|
||||
extension ProjectReference: PathContainer {
|
||||
|
||||
static var pathProperties: [PathProperty] {
|
||||
[
|
||||
.dictionary([
|
||||
.string("path"),
|
||||
]),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
extension ProjectReference: NamedJSONDictionaryConvertible {
|
||||
public init(name: String, jsonDictionary: JSONDictionary) throws {
|
||||
self.name = name
|
||||
|
Loading…
Reference in New Issue
Block a user