-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (31 loc) · 1.06 KB
/
Copy pathPackage.swift
File metadata and controls
32 lines (31 loc) · 1.06 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "WeChatMulti",
platforms: [
.macOS(.v13)
],
targets: [
// Pure, Foundation-only logic — fully unit-tested, no AppKit, no UI.
// This is where the clone engine's bug-prone bits live: ps parsing,
// slot ordering, version comparison, naming conventions, settings
// persistence, and backup/restore.
.target(
name: "WeChatMultiCore",
path: "Sources/WeChatMultiCore"
),
// The menu bar app: AppKit/SwiftUI UI + filesystem orchestration that
// composes WeChatMultiCore.
.executableTarget(
name: "WeChatMulti",
dependencies: ["WeChatMultiCore"],
path: "Sources/WeChatMulti"
),
// Unit tests for the Core library — run via `swift test` on every CI push.
.testTarget(
name: "WeChatMultiCoreTests",
dependencies: ["WeChatMultiCore"],
path: "Tests/WeChatMultiCoreTests"
)
]
)