⬆️ swift-format (release/5.6)

This commit is contained in:
Ben Chatelain 2022-07-04 15:08:46 -06:00
parent a484154d6c
commit 5707750eeb
2 changed files with 30 additions and 7 deletions

View file

@ -60,16 +60,16 @@
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
"state": {
"branch": null,
"revision": "e1465042f195f374b94f915ba8ca49de24300a0d",
"version": "1.0.2"
"revision": "df9ee6676cd5b3bf5b330ec7568a5644f547201b",
"version": "1.1.3"
}
},
{
"package": "swift-format",
"repositoryURL": "https://github.com/apple/swift-format",
"state": {
"branch": "swift-5.5-branch",
"revision": "f872223e16742fd97fabd319fbf4a939230cc796",
"branch": "release/5.6",
"revision": "e6b8c60c7671066d229e30efa1e31acf57be412e",
"version": null
}
},
@ -78,8 +78,26 @@
"repositoryURL": "https://github.com/apple/swift-syntax",
"state": {
"branch": null,
"revision": "75e60475d9d8fd5bbc16a12e0eaa2cb01b0c322e",
"version": "0.50500.0"
"revision": "0b6c22b97f8e9320bca62e82cdbee601cf37ad3f",
"version": "0.50600.1"
}
},
{
"package": "swift-system",
"repositoryURL": "https://github.com/apple/swift-system.git",
"state": {
"branch": null,
"revision": "836bc4557b74fe6d2660218d56e3ce96aff76574",
"version": "1.1.1"
}
},
{
"package": "swift-tools-support-core",
"repositoryURL": "https://github.com/apple/swift-tools-support-core.git",
"state": {
"branch": null,
"revision": "b7667f3e266af621e5cc9c77e74cacd8e8c00cb4",
"version": "0.2.5"
}
},
{

View file

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