-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathPackage.swift
99 lines (93 loc) · 3.05 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
87
88
89
90
91
92
93
94
95
96
97
98
99
// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-nio-imap",
products: [
.library(name: "NIOIMAP", targets: ["NIOIMAP"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio", from: "2.64.0"),
.package(url: "https://github.com/apple/swift-nio-ssl", from: "2.24.0"),
.package(url: "https://github.com/apple/swift-log", from: "1.4.4"),
.package(url: "https://github.com/apple/swift-se0270-range-set.git", from: "1.0.1"),
.package(url: "https://github.com/apple/swift-collections.git", "1.1.0"..<"2.0.0"),
],
targets: [
.executableTarget(
name: "NIOIMAPPerformanceTester",
dependencies: [
"NIOIMAP"
]
),
.target(
name: "NIOIMAP",
dependencies: [
"NIOIMAPCore"
]
),
.testTarget(
name: "NIOIMAPTests",
dependencies: [
"NIOIMAP",
"NIOIMAPCore",
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOTestUtils", package: "swift-nio"),
]
),
.target(
name: "NIOIMAPCore",
dependencies: [
.product(name: "NIO", package: "swift-nio"),
.product(name: "SE0270_RangeSet", package: "swift-se0270-range-set"),
.product(name: "OrderedCollections", package: "swift-collections"),
]
),
.testTarget(
name: "NIOIMAPCoreTests",
dependencies: [
"NIOIMAPCore",
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOTestUtils", package: "swift-nio"),
]
),
.executableTarget(
name: "CLI",
dependencies: [
"CLILib"
]
),
.target(
name: "CLILib",
dependencies: [
"NIOIMAP",
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOSSL", package: "swift-nio-ssl"),
.product(name: "Logging", package: "swift-log"),
]
),
.testTarget(
name: "CLILibTests",
dependencies: [
"CLILib",
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOTestUtils", package: "swift-nio"),
]
),
.executableTarget(
name: "Proxy",
dependencies: [
"NIOIMAP",
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOSSL", package: "swift-nio-ssl"),
]
),
.executableTarget(
name: "NIOIMAPFuzzer",
dependencies: [
"NIOIMAP",
.product(name: "NIO", package: "swift-nio"),
]
),
]
)