-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
68 lines (67 loc) · 2.22 KB
/
Package.swift
File metadata and controls
68 lines (67 loc) · 2.22 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
64
65
66
67
68
// swift-tools-version: 6.1
import PackageDescription
let package = Package(
name: "MinuteWave",
defaultLocalization: "en",
platforms: [
.macOS(.v14)
],
products: [
.executable(name: "MinuteWave", targets: ["AINoteTakerApp"])
],
dependencies: [
// Vendored until the upstream strict-concurrency fix is available in a tagged release.
.package(path: "Vendor/FluidAudio")
],
targets: [
.executableTarget(
name: "AINoteTakerApp",
dependencies: [
.product(name: "FluidAudio", package: "FluidAudio")
],
path: "Sources/AINoteTakerApp",
exclude: [
"AGENTS.md",
"CLAUDE.md"
],
resources: [
.process("Resources")
],
linkerSettings: [
.linkedFramework("SwiftUI"),
.linkedFramework("AppKit"),
.linkedFramework("AVFoundation"),
.linkedFramework("ScreenCaptureKit"),
.linkedFramework("Security"),
.linkedLibrary("sqlcipher"),
.unsafeFlags(
[
"-Xlinker", "-rpath",
"-Xlinker", "@executable_path/../Frameworks",
"-Xlinker", "-rpath",
"-Xlinker", "/opt/homebrew/lib",
"-Xlinker", "-rpath",
"-Xlinker", "/usr/local/lib",
"-L", "/opt/homebrew/lib",
"-L", "/usr/local/lib",
"-Xlinker", "-sectcreate",
"-Xlinker", "__TEXT",
"-Xlinker", "__info_plist",
"-Xlinker", "Sources/AINoteTakerApp/Resources/AppInfo.plist"
],
.when(platforms: [.macOS])
)
]
),
.testTarget(
name: "AINoteTakerAppTests",
dependencies: ["AINoteTakerApp"],
path: "Tests/AINoteTakerAppTests",
exclude: [
"AGENTS.md",
"CLAUDE.md"
]
)
],
swiftLanguageModes: [.v5]
)