Skip to content

Commit

Permalink
Update Package.swift to support Swift 5.3 / Xcode 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellie Shin committed Sep 10, 2020
1 parent 431a595 commit 0be2520
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ import PackageDescription
var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.0.4")),
.package(url: "https://github.com/apple/swift-tools-support-core.git", .exact("0.1.5")),
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50200.0"))
]

#if compiler(>=5.3)
dependencies.append(.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .branch("swift-5.3-DEVELOPMENT-SNAPSHOT-2020-09-07-a")))
#else
dependencies.append(.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50200.0")))
#endif

let package = Package(
name: "Mockolo",
platforms: [
Expand Down
2 changes: 1 addition & 1 deletion Sources/Mockolo/Executor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,6 @@ public struct Version {
public let value: String

/// The current Mockolo version.
public static let current = Version(value: "1.2.5")
public static let current = Version(value: "1.2.6")
}

0 comments on commit 0be2520

Please sign in to comment.