Skip to content

Commit a453368

Browse files
authored
Merge pull request swiftlang#193 from ahoppen/readme-5.2-example
Add an example on how to depend on SwiftSyntax with SwiftPM 5.2
2 parents 999890d + cdf48a0 commit a453368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import PackageDescription
2222
let package = Package(
2323
name: "MyTool",
2424
dependencies: [
25-
.package(url: "https://github.com/apple/swift-syntax.git", .exact("<#Specify Release tag#>")),
25+
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("<#Specify Release tag#>")),
2626
],
2727
targets: [
2828
.target(name: "MyTool", dependencies: ["SwiftSyntax"]),

0 commit comments

Comments
 (0)