Skip to content

Commit 27db137

Browse files
authored
Merge pull request #2283 from Matejkob/add-SwiftSyntax510
2 parents 71afbc1 + 9a561e6 commit 27db137

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Package.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ let package = Package(
172172

173173
.target(
174174
name: "SwiftSyntax",
175-
dependencies: ["SwiftSyntax509"],
175+
dependencies: ["SwiftSyntax509", "SwiftSyntax510"],
176176
exclude: ["CMakeLists.txt"],
177177
swiftSettings: swiftSyntaxSwiftSettings
178178
),
@@ -190,6 +190,11 @@ let package = Package(
190190
dependencies: []
191191
),
192192

193+
.target(
194+
name: "SwiftSyntax510",
195+
dependencies: []
196+
),
197+
193198
// MARK: SwiftSyntaxBuilder
194199

195200
.target(

Sources/SwiftSyntax510/Empty.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// The SwiftSyntax510 module is intentionally empty.
2+
// It serves as an indicator which version of swift-syntax a package is building against.
3+
// See the 'Macro Versioning.md' document for more details.

0 commit comments

Comments
 (0)