Skip to content

Commit

Permalink
Merge pull request #197 from pablocornejo/feature/update-swift-argume…
Browse files Browse the repository at this point in the history
…nt-parser
  • Loading branch information
uhooi authored Aug 26, 2022
2 parents 926f9f4 + 360205f commit 421fade
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ import PackageDescription

var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/apple/swift-tools-support-core.git", .exact("0.2.7")),
.package(url: "https://github.com/apple/swift-argument-parser", "1.0.1"..."1.0.3"),
]
var mockoloFrameworkTargetDependencies: [Target.Dependency] = [
.product(name: "SwiftSyntax", package: "SwiftSyntax"),
]

#if swift(>=5.6)
dependencies.append(.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.1"))
#else
dependencies.append(.package(url: "https://github.com/apple/swift-argument-parser", "1.0.1"..."1.0.3"))
#endif

#if swift(>=5.6)
dependencies.append(.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50600.1")))
mockoloFrameworkTargetDependencies.append(.product(name: "SwiftSyntaxParser", package: "SwiftSyntax"))
Expand Down

0 comments on commit 421fade

Please sign in to comment.