-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
63 lines (62 loc) · 2.04 KB
/
Copy pathPackage.swift
File metadata and controls
63 lines (62 loc) · 2.04 KB
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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "CloudTunnels",
platforms: [.macOS(.v13)],
products: [
.executable(name: "CloudTunnels", targets: ["CloudTunnels"]),
.executable(name: "ctun", targets: ["ctun"]),
.executable(name: "CloudTunnelsProxyHelper", targets: ["CloudTunnelsProxyHelper"]),
.library(name: "TunnelCore", targets: ["TunnelCore"]),
.library(name: "ProxyHelperShared", targets: ["ProxyHelperShared"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),
.package(url: "https://github.com/apple/swift-certificates.git", from: "1.5.0"),
],
targets: [
.target(
name: "TunnelCore",
path: "Sources/TunnelCore"
),
.target(
name: "ProxyHelperShared",
path: "Sources/ProxyHelperShared"
),
.executableTarget(
name: "CloudTunnels",
dependencies: [
"TunnelCore",
"ProxyHelperShared",
.product(name: "X509", package: "swift-certificates"),
],
path: "Sources/CloudTunnels"
),
.executableTarget(
name: "ctun",
dependencies: [
"TunnelCore",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
],
path: "Sources/ctun"
),
.executableTarget(
name: "CloudTunnelsProxyHelper",
dependencies: [
"ProxyHelperShared",
.product(name: "X509", package: "swift-certificates"),
],
path: "Sources/CloudTunnelsProxyHelper"
),
.testTarget(
name: "CloudTunnelsTests",
dependencies: [
"CloudTunnels",
"TunnelCore",
"ProxyHelperShared",
"CloudTunnelsProxyHelper",
],
path: "Tests/CloudTunnelsTests"
),
]
)