mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
🧹 Match swift-format to compiler, not language version
This commit is contained in:
parent
9904707152
commit
0a7dc300f2
2 changed files with 6 additions and 6 deletions
|
@ -68,9 +68,9 @@
|
|||
"package": "swift-format",
|
||||
"repositoryURL": "https://github.com/apple/swift-format",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"branch": "swift-5.4-branch",
|
||||
"revision": "9c15831b798d767c9af0927a931de5d557004936",
|
||||
"version": "0.50400.0"
|
||||
"version": null
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -70,12 +70,12 @@ let package = Package(
|
|||
swiftLanguageVersions: [.v5]
|
||||
)
|
||||
|
||||
#if swift(>=5.4)
|
||||
#if compiler(>=5.4)
|
||||
package.dependencies += [
|
||||
.package(url: "https://github.com/apple/swift-format", from: "0.50400.0")
|
||||
.package(url: "https://github.com/apple/swift-format", .branch("swift-5.4-branch"))
|
||||
]
|
||||
#elseif swift(>=5.3)
|
||||
#elseif compiler(>=5.3)
|
||||
package.dependencies += [
|
||||
.package(url: "https://github.com/apple/swift-format", from: "0.50300.0")
|
||||
.package(url: "https://github.com/apple/swift-format", .branch("swift-5.3-branch"))
|
||||
]
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue