mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-20 09:08:46 +03:00
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:
parent
6122dd361a
commit
fda4f30713
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user