-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
86 lines (85 loc) · 2.2 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "ShellKit",
products: [
.library(name: "ShellKit", targets: ["ShellKit"]),
.library(name: "SSHShell", targets: ["SSHShell"]),
.library(name: "LocalShell", targets: ["LocalShell"]),
.library(name: "CommandKit", targets: ["CommandKit"]),
.library(name: "ExecutorMocks", targets: ["ExecutorMocks"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.3.0"),
.package(url: "https://github.com/Einstore/WebErrorKit.git", from: "0.0.1"),
.package(url: "https://github.com/Einstore/Shout.git", from: "0.5.1")
],
targets: [
.target(
name: "ShellKit",
dependencies: [
"SSHShell",
"LocalShell",
"NIO"
]
),
.target(
name: "SSHShell",
dependencies: [
"Shout",
"ExecutorKit",
"NIO"
]
),
.target(
name: "LocalShell",
dependencies: [
"ExecutorKit",
"NIO",
"WebErrorKit"
]
),
.target(
name: "ExecutorKit",
dependencies: [
"Shout",
"NIO",
"WebErrorKit"
]
),
.target(
name: "CommandKit",
dependencies: [
"ShellKit",
"WebErrorKit"
]
),
.target(
name: "ExecutorMocks",
dependencies: [
"ExecutorKit"
]
),
.testTarget(
name: "LocalShellTests",
dependencies: [
"LocalShell",
"NIO"
]
),
.testTarget(
name: "ExecutorMocksTests",
dependencies: [
"ExecutorMocks",
"CommandKit"
]
),
.testTarget(
name: "CommandKitTests",
dependencies: [
"CommandKit",
"NIO"
]
)
]
)