-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
229 changed files
with
2,965 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
Sources/PackageDSL/SwiftSettings/UnsafeFlags/AccessNotesPath.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// Passes the flag `-access-notes-path` | ||
public struct AccessNotesPath: UnsafeFlag { | ||
public let value: String | ||
|
||
public init(_ value: String) { | ||
self.value = value | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(value)"] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Sources/PackageDSL/SwiftSettings/UnsafeFlags/AllowableClient.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// Passes the flag `-allowable-client` | ||
public struct AllowableClient: UnsafeFlag { | ||
public let vers: String | ||
|
||
public init(_ vers: String) { | ||
self.vers = vers | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(vers)"] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Sources/PackageDSL/SwiftSettings/UnsafeFlags/ApiDiffDataDir.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// Passes the flag `-api-diff-data-dir` | ||
public struct ApiDiffDataDir: UnsafeFlag { | ||
public let path: String | ||
|
||
public init(_ path: String) { | ||
self.path = path | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(path)"] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Sources/PackageDSL/SwiftSettings/UnsafeFlags/ApiDiffDataFile.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// Passes the flag `-api-diff-data-file` | ||
public struct ApiDiffDataFile: UnsafeFlag { | ||
public let path: String | ||
|
||
public init(_ path: String) { | ||
self.path = path | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(path)"] | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Sources/PackageDSL/SwiftSettings/UnsafeFlags/AssertConfig.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/// Passes the flag `-assert-config` | ||
/// Specify the assert_configuration replacement. Possible values are Debug, Release, Unchecked, DisableReplacement. | ||
public struct AssertConfig: UnsafeFlag { | ||
public let value: String | ||
|
||
public init(_ value: String) { | ||
self.value = value | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(value)"] | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Sources/PackageDSL/SwiftSettings/UnsafeFlags/CasPath.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/// Passes the flag `-cas-path` | ||
/// Path to CAS | ||
public struct CasPath: UnsafeFlag { | ||
public let path: String | ||
|
||
public init(_ path: String) { | ||
self.path = path | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(path)"] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
Sources/PackageDSL/SwiftSettings/UnsafeFlags/CasPluginOption.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/// Passes the flag `-cas-plugin-option` | ||
public struct CasPluginOption: UnsafeFlag { | ||
public let name: String | ||
|
||
public init(_ name: String) { | ||
self.name = name | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(name)"] | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
Sources/PackageDSL/SwiftSettings/UnsafeFlags/CasPluginPath.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/// Passes the flag `-cas-plugin-path` | ||
/// Path to CAS Plugin | ||
public struct CasPluginPath: UnsafeFlag { | ||
public let path: String | ||
|
||
public init(_ path: String) { | ||
self.path = path | ||
} | ||
|
||
public var unsafeFlagArguments: [String] { | ||
["\(name.camelToSnakeCaseFlag())", "\(path)"] | ||
} | ||
} |
Oops, something went wrong.