forked from faustyu1/veil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
30 lines (29 loc) · 854 Bytes
/
Copy pathPackage.swift
File metadata and controls
30 lines (29 loc) · 854 Bytes
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: 6.0
import PackageDescription
let package = Package(
name: "XrayClient",
platforms: [
.macOS(.v14)
],
targets: [
.executableTarget(
name: "XrayClient",
path: "Sources/XrayClient",
resources: [
.copy("Resources/xray"),
.copy("Resources/sing-box"),
.copy("Resources/tun2socks"),
.copy("Resources/tun-up.sh"),
.copy("Resources/tun-down.sh"),
.copy("Resources/tun-ping.sh"),
.copy("Resources/install-helper.sh"),
.copy("Resources/uninstall-helper.sh")
]
),
.testTarget(
name: "XrayClientTests",
dependencies: ["XrayClient"],
path: "Tests/XrayClientTests"
)
]
)