Skip to content

Commit

Permalink
Fix compilation of older compiler versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Pilkington committed Aug 11, 2022
1 parent 86a8726 commit a24cedf
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 61 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
build
.DS_Store
.build/
.swiftpm/
*.xcodeproj
.swift-version
.swiftpm/
*~
.vscode/
114 changes: 58 additions & 56 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,59 +1,61 @@
{
"pins" : [
{
"identity" : "openapikit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mattpolzin/OpenAPIKit.git",
"state" : {
"revision" : "0c668112f9803c1858ed070f9e8ce84922a0b41f",
"version" : "3.0.0-alpha.4"
"object": {
"pins": [
{
"package": "OpenAPIKit",
"repositoryURL": "https://github.com/mattpolzin/OpenAPIKit.git",
"state": {
"branch": null,
"revision": "0c668112f9803c1858ed070f9e8ce84922a0b41f",
"version": "3.0.0-alpha.4"
}
},
{
"package": "ServiceModelSwiftCodeGenerate",
"repositoryURL": "https://github.com/amzn/service-model-swift-code-generate.git",
"state": {
"branch": "main",
"revision": "4c0ccda7df61c87538df34fc47982435c4a52206",
"version": null
}
},
{
"package": "SmokeAWSGenerate",
"repositoryURL": "https://github.com/amzn/smoke-aws-generate.git",
"state": {
"branch": "main",
"revision": "4a4a01557c23cd5d205ee0202be75587d48635c8",
"version": null
}
},
{
"package": "SwaggerParser",
"repositoryURL": "https://github.com/tachyonics/SwaggerParser.git",
"state": {
"branch": null,
"revision": "c0eb70485c59a9d7dd6765dcd303b49fdb3040ee",
"version": "0.6.4"
}
},
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "6b2aa2748a7881eebb9f84fb10c01293e15b52ca",
"version": "0.5.0"
}
},
{
"package": "Yams",
"repositoryURL": "https://github.com/jpsim/Yams.git",
"state": {
"branch": null,
"revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
"version": "4.0.6"
}
}
},
{
"identity" : "service-model-swift-code-generate",
"kind" : "remoteSourceControl",
"location" : "https://github.com/amzn/service-model-swift-code-generate.git",
"state" : {
"branch" : "main",
"revision" : "ed2c9497e0e596b9b1ef40b12a219436c88a2ea6"
}
},
{
"identity" : "smoke-aws-generate",
"kind" : "remoteSourceControl",
"location" : "https://github.com/amzn/smoke-aws-generate.git",
"state" : {
"branch" : "main",
"revision" : "4a4a01557c23cd5d205ee0202be75587d48635c8"
}
},
{
"identity" : "swaggerparser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tachyonics/SwaggerParser.git",
"state" : {
"revision" : "c0eb70485c59a9d7dd6765dcd303b49fdb3040ee",
"version" : "0.6.4"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "6b2aa2748a7881eebb9f84fb10c01293e15b52ca",
"version" : "0.5.0"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
"version" : "4.0.6"
}
}
],
"version" : 2
]
},
"version": 1
}
4 changes: 2 additions & 2 deletions [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ let package = Package(
],
dependencies: [
.package(name: "SmokeAWSGenerate",
url: "https://github.com/amzn/smoke-aws-generate.git", from: "3.0.0-beta.1"),
url: "https://github.com/amzn/smoke-aws-generate.git", .branch("main")),
.package(name: "ServiceModelSwiftCodeGenerate",
url: "https://github.com/amzn/service-model-swift-code-generate.git", from: "3.0.0-beta.1"),
url: "https://github.com/amzn/service-model-swift-code-generate.git", .branch("main")),
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.3.0"),
],
targets: [
Expand Down
4 changes: 2 additions & 2 deletions [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ let package = Package(
],
dependencies: [
.package(name: "SmokeAWSGenerate",
url: "https://github.com/amzn/smoke-aws-generate.git", from: "3.0.0-beta.1"),
url: "https://github.com/amzn/smoke-aws-generate.git", .branch("main")),
.package(name: "ServiceModelSwiftCodeGenerate",
url: "https://github.com/amzn/service-model-swift-code-generate.git", from: "3.0.0-beta.1"),
url: "https://github.com/amzn/service-model-swift-code-generate.git", .branch("main")),
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.3.0"),
],
targets: [
Expand Down

0 comments on commit a24cedf

Please sign in to comment.