-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
30 lines (28 loc) · 870 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "Life",
products: [
.library(name: "Life", targets: ["Life"]),
.executable(name: "life-cli", targets: ["lifeCLI"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git",
.upToNextMinor(from: "1.0.1")),
.package(url: "https://github.com/apple/swift-tools-support-core.git",
.upToNextMinor(from: "0.2.4"))
],
targets: [
.executableTarget(
name: "lifeCLI",
dependencies: [
.product(name: "SwiftToolsSupport-auto",
package: "swift-tools-support-core"),
.product(name: "ArgumentParser",
package: "swift-argument-parser"),
"Life"
]),
.target(name: "Life"),
.testTarget(name: "LifeTests", dependencies: ["Life"])
]
)