Skip to content

Commit

Permalink
Add Swift 5.6 support. (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstegeman authored Mar 15, 2022
1 parent 4b6768b commit b1f1b7c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,13 @@ var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.3.2")), // not API stable, Apache v2
]

#if swift(>=5.6)
#if swift(>=5.7)
dependencies.append(
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .revision("swift-DEVELOPMENT-SNAPSHOT-2021-09-23-a"))
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .revision("swift-DEVELOPMENT-SNAPSHOT-2022-03-13-a"))
)
#elseif swift(>=5.6)
dependencies.append(
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50600.0"))
)
#elseif swift(>=5.5)
dependencies.append(
Expand Down

0 comments on commit b1f1b7c

Please sign in to comment.