-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
35 lines (34 loc) Β· 1.32 KB
/
Copy pathPackage.swift
File metadata and controls
35 lines (34 loc) Β· 1.32 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
// swift-tools-version: 6.0
import PackageDescription
// flowcode β native macOS menu-bar control app for the voicemode real-time voice core.
//
// Layout (library + thin executable split):
// flowcodeKit β testable library: models, IPC client, stores, status-item UI
// flowcode β thin executable: wires it together and runs the menu-bar app
// flowcodeTests β unit/integration tests against flowcodeKit
//
// External deps (Sparkle, KeyboardShortcuts, DynamicNotchKit) are added in later phases.
let package = Package(
name: "flowcode",
platforms: [.macOS(.v14)],
products: [
.executable(name: "flowcode", targets: ["flowcode"]),
.library(name: "flowcodeKit", targets: ["flowcodeKit"]),
],
targets: [
.target(name: "flowcodeKit", path: "Sources/flowcodeKit"),
.executableTarget(
name: "flowcode",
dependencies: ["flowcodeKit"],
path: "Sources/flowcode",
exclude: ["Info.plist"]
),
// Runnable verification harness (works under Command Line Tools, where
// `swift test`/XCTest is unavailable). Run with: swift run flowcode-selftest
.executableTarget(
name: "flowcode-selftest",
dependencies: ["flowcodeKit"],
path: "Sources/flowcodeSelfTest"
),
]
)