add swift-argument-parser

This commit is contained in:
Roy Cao 2020-05-26 21:23:24 +08:00
parent 656aa7f625
commit 5adc185f41
2 changed files with 12 additions and 1 deletions

View File

@ -10,6 +10,15 @@
"version": null
}
},
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
"state": {
"branch": "master",
"revision": "85196ee1d824d16b3f7f9870404b4b286e7c050e",
"version": null
}
},
{
"package": "SwiftSyntax",
"repositoryURL": "https://github.com/apple/swift-syntax.git",

View File

@ -13,6 +13,7 @@ let package = Package(
.package(url: "https://github.com/apple/indexstore-db.git", .branch("swift-5.2-branch")),
.package(url: "https://github.com/apple/swift-tools-support-core.git", .branch("master")),
.package(url: "https://github.com/jpsim/Yams.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser.git", .branch("master")),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@ -21,7 +22,8 @@ let package = Package(
name: "Pecker",
dependencies: [
"PeckerKit",
"SwiftToolsSupport-auto"]
"SwiftToolsSupport-auto",
.product(name: "ArgumentParser", package: "swift-argument-parser")]
),
.target(
name: "PeckerKit",