Merge pull request #264 from jerrymarino/jmarino_allow_allocation_of_legacy_target

Allow allocation of LegacyTarget
This commit is contained in:
Yonas Kolb 2018-03-09 11:17:03 +11:00 committed by GitHub
commit ad3aaaa259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {