mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-20 00:58:04 +03:00
Merge pull request #264 from jerrymarino/jmarino_allow_allocation_of_legacy_target
Allow allocation of LegacyTarget
This commit is contained in:
commit
ad3aaaa259
@ -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