⬆️ swift-format (release/5.7)

This commit is contained in:
Ben Chatelain 2022-09-21 19:33:32 -06:00
parent c5e8a066df
commit 34e59350b0
2 changed files with 14 additions and 10 deletions

View file

@ -60,16 +60,16 @@
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
"state": {
"branch": null,
"revision": "df9ee6676cd5b3bf5b330ec7568a5644f547201b",
"version": "1.1.3"
"revision": "9f39744e025c7d377987f30b03770805dcb0bcd1",
"version": "1.1.4"
}
},
{
"package": "swift-format",
"repositoryURL": "https://github.com/apple/swift-format",
"state": {
"branch": "release/5.6",
"revision": "e6b8c60c7671066d229e30efa1e31acf57be412e",
"branch": "release/5.7",
"revision": "3dd9b517b9e9846435aa782d769ef5825e7c2d65",
"version": null
}
},
@ -78,8 +78,8 @@
"repositoryURL": "https://github.com/apple/swift-syntax",
"state": {
"branch": null,
"revision": "0b6c22b97f8e9320bca62e82cdbee601cf37ad3f",
"version": "0.50600.1"
"revision": "04d4497be6b88e524a71778d828790e9589ae1c4",
"version": "0.50700.0"
}
},
{
@ -96,8 +96,8 @@
"repositoryURL": "https://github.com/apple/swift-tools-support-core.git",
"state": {
"branch": null,
"revision": "b7667f3e266af621e5cc9c77e74cacd8e8c00cb4",
"version": "0.2.5"
"revision": "4f07be3dc201f6e2ee85b6942d0c220a16926811",
"version": "0.2.7"
}
},
{

View file

@ -70,8 +70,12 @@ let package = Package(
swiftLanguageVersions: [.v5]
)
// https://github.com/apple/swift-format#matching-swift-format-to-your-swift-version
#if compiler(>=5.6)
// https://github.com/apple/swift-format#matching-swift-format-to-your-swift-version-swift-57-and-earlier
#if compiler(>=5.7)
package.dependencies += [
.package(url: "https://github.com/apple/swift-format", .branch("release/5.7"))
]
#elseif compiler(>=5.6)
package.dependencies += [
.package(url: "https://github.com/apple/swift-format", .branch("release/5.6"))
]