Skip to content

Commit

Permalink
Merge pull request swiftlang#2311 from ahoppen/ahoppen/511-version-in…
Browse files Browse the repository at this point in the history
…dicator

Add a `SwiftSyntax511` version indicator module
  • Loading branch information
ahoppen committed Oct 26, 2023
2 parents 598e191 + dbb04e5 commit 18c5bce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ let package = Package(

.target(
name: "SwiftSyntax",
dependencies: ["SwiftSyntax509", "SwiftSyntax510"],
dependencies: ["SwiftSyntax509", "SwiftSyntax510", "SwiftSyntax511"],
exclude: ["CMakeLists.txt"],
swiftSettings: swiftSyntaxSwiftSettings
),
Expand All @@ -195,6 +195,11 @@ let package = Package(
dependencies: []
),

.target(
name: "SwiftSyntax511",
dependencies: []
),

// MARK: SwiftSyntaxBuilder

.target(
Expand Down
3 changes: 3 additions & 0 deletions Sources/SwiftSyntax511/Empty.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// The SwiftSyntax511 module is intentionally empty.
// It serves as an indicator which version of swift-syntax a package is building against.
// See the 'Macro Versioning.md' document for more details.

0 comments on commit 18c5bce

Please sign in to comment.