mirror of
https://git.tonybark.com/tonytins/swiftlyfox.git
synced 2026-02-10 16:24:48 -05:00
Added ArgumentParser to main project
- At Swift book's Functions and Closure section in Playgrounds (next up Objects and Classes)
This commit is contained in:
parent
8f83d25989
commit
82077a9bb2
4 changed files with 49 additions and 21 deletions
|
|
@ -5,11 +5,19 @@ import PackageDescription
|
|||
|
||||
let package = Package(
|
||||
name: "swiftyfox",
|
||||
dependencies: [
|
||||
// other dependencies
|
||||
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.executableTarget(
|
||||
name: "swiftyfox"
|
||||
),
|
||||
name: "swiftyfox",
|
||||
dependencies: [
|
||||
// other dependencies
|
||||
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
||||
]),
|
||||
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue