-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
49 lines (47 loc) · 1.44 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "AdventureItems",
defaultLocalization: "en",
platforms: [
.macOS(.v10_15),
],
products: [
.executable(
name: "AdventureItems",
targets: ["AdventureItems"]
),
.library(
name: "AdventureUtils",
targets: ["AdventureUtils"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
.package(name: "Ink", url: "https://github.com/johnsundell/ink.git", from: "0.5.0"),
.package(name: "Plot", url: "https://github.com/johnsundell/plot.git", from: "0.9.0"),
.package(name: "Publish", url: "https://github.com/johnsundell/publish.git", from: "0.8.0"),
.package(name: "Yams", url: "https://github.com/jpsim/Yams.git", from: "4.0.6")
],
targets: [
.executableTarget(
name: "AdventureItems",
dependencies: [
"AdventureUtils",
.product(name: "Algorithms", package: "swift-algorithms"),
"Ink",
"Plot",
"Publish",
"Yams"
]
),
.target(
name: "AdventureUtils",
dependencies: ["Ink", "Plot"]
),
.testTarget(
name: "AdventureUtilsTests",
dependencies: ["AdventureUtils"]
)
]
)