-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (32 loc) · 1.11 KB
/
Copy pathPackage.swift
File metadata and controls
34 lines (32 loc) · 1.11 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "ShadowSpace",
platforms: [.macOS(.v14)],
targets: [
// 全原生代理核心(不依賴 sing-box;App Store 路線的基礎)
.target(name: "ShadowCore", path: "Sources/ShadowCore"),
.executableTarget(
name: "shadow-demo",
dependencies: ["ShadowCore"],
path: "Sources/shadow-demo"
),
.testTarget(
name: "ShadowCoreTests",
dependencies: ["ShadowCore"],
path: "Tests/ShadowCoreTests"
),
// 現有 GUI(仍走 sing-box 子程序;Developer ID 發佈路線)
.target(name: "ShadowSpaceKit", dependencies: ["ShadowCore"], path: "Sources/ShadowSpaceKit"),
.executableTarget(
name: "ShadowSpace",
dependencies: ["ShadowSpaceKit"],
path: "Sources/ShadowSpace"
),
.testTarget(
name: "ShadowSpaceKitTests",
dependencies: ["ShadowSpaceKit", "ShadowCore"],
path: "Tests/ShadowSpaceKitTests"
),
]
)