mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
Use swift-format release/5.9 for Swift compiler 5.8+
This commit is contained in:
parent
1d3af6c96f
commit
152b324d2d
1 changed files with 5 additions and 1 deletions
|
@ -71,7 +71,11 @@ let package = Package(
|
|||
)
|
||||
|
||||
// https://github.com/apple/swift-format#matching-swift-format-to-your-swift-version-swift-57-and-earlier
|
||||
#if compiler(>=5.7)
|
||||
#if compiler(>=5.8)
|
||||
package.dependencies += [
|
||||
.package(url: "https://github.com/apple/swift-format", .branch("release/5.9"))
|
||||
]
|
||||
#elseif compiler(>=5.7)
|
||||
package.dependencies += [
|
||||
.package(url: "https://github.com/apple/swift-format", .branch("release/5.7"))
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue