Skip to content

Commit 31638d8

Browse files
authored
Merge pull request #40 from 5t111111/update-readme-package-manifest-example
Update SPM manifest example in README
2 parents faa869c + 166ceff commit 31638d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ through that README and the corresponding tests in parallel.
3232
Add GraphQL to your `Package.swift`
3333

3434
```swift
35+
// swift-tools-version:4.0
3536
import PackageDescription
3637

3738
let package = Package(
3839
dependencies: [
39-
.Package(url: "https://github.com/GraphQLSwift/GraphQL.git", majorVersion: 0),
40+
.package(url: "https://github.com/GraphQLSwift/GraphQL.git", from: "0.0.0"),
4041
]
4142
)
4243
```

0 commit comments

Comments
 (0)