Allow allocation of LegacyTarget

I'm now using XcodeGen data structures directly, which is awesome.

I need to allocate `LegacyTarget` in my code, so this method makes it
public.
This commit is contained in:
Jerry Marino 2018-03-08 13:22:30 -08:00
parent 6122dd361a
commit fda4f30713

View File

@ -7,6 +7,18 @@ public struct LegacyTarget {
public var arguments: String?
public var passSettings: Bool
public var workingDirectory: String?
public init(
toolPath: String,
passSettings: Bool = false,
arguments: String? = nil,
workingDirectory: String? = nil
) {
self.toolPath = toolPath
self.arguments = arguments
self.passSettings = passSettings
self.workingDirectory = workingDirectory
}
}
extension LegacyTarget: Equatable {