-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1099 from apollographql/xcode-11.4
Update swift-tools to 5.2
- Loading branch information
Showing
4 changed files
with
32 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,33 @@ | ||
// swift-tools-version:5.1 | ||
// swift-tools-version:5.2 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Codegen", | ||
dependencies: [ | ||
.package(path: ".."), | ||
.package(name: "Apollo", path: ".."), | ||
.package(url: "https://github.com/apple/swift-tools-support-core", from: "0.0.1"), | ||
.package(url: "https://github.com/designatednerd/SourceDocs.git", .branch("master")) | ||
], | ||
targets: [ | ||
.target( | ||
name: "Codegen", | ||
dependencies: ["ApolloCodegenLib", "SwiftToolsSupport-auto"]), | ||
.target(name: "Codegen", | ||
dependencies: [ | ||
.product(name: "ApolloCodegenLib", package: "Apollo"), | ||
.product(name: "SwiftToolsSupport-auto", package: "swift-tools-support-core"), | ||
]), | ||
.target(name: "SchemaDownload", | ||
dependencies: ["ApolloCodegenLib"]), | ||
dependencies: [ | ||
.product(name: "ApolloCodegenLib", package: "Apollo"), | ||
]), | ||
.target(name: "DocumentationGenerator", | ||
dependencies: ["ApolloCodegenLib", "SourceDocsLib"]), | ||
.testTarget( | ||
name: "CodegenTests", | ||
dependencies: ["Codegen"]), | ||
dependencies: [ | ||
.product(name: "ApolloCodegenLib", package: "Apollo"), | ||
.product(name: "SourceDocsLib", package: "SourceDocs"), | ||
]), | ||
.testTarget(name: "CodegenTests", | ||
dependencies: [ | ||
"Codegen" | ||
]), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters