mirror of
https://git.tonybark.com/tonytins/swiftlyfox.git
synced 2026-02-10 08:14:48 -05:00
- At Swift book's Functions and Closure section in Playgrounds (next up Objects and Classes)
23 lines
805 B
Swift
23 lines
805 B
Swift
// swift-tools-version: 6.2
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
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",
|
|
dependencies: [
|
|
// other dependencies
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
|
]),
|
|
|
|
]
|
|
)
|