Repository navigation
Expand file tree
/
Copy pathPackage.swift
More file actions
57 lines (56 loc) · 1.8 KB
/
Copy pathPackage.swift
File metadata and controls
57 lines (56 loc) · 1.8 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
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "Blackbox",
platforms: [.macOS("26.1")],
dependencies: [
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.0.0"),
.package(url: "https://github.com/MimicScribe/dtln-aec-coreml.git", from: "0.4.0-beta"),
],
targets: [
.target(
name: "ObjCExceptionCatcher",
path: "Sources/ObjCExceptionCatcher",
publicHeadersPath: "include",
linkerSettings: [
.linkedFramework("AVFAudio"),
]
),
.executableTarget(
name: "BlackboxWatchdog",
path: "Sources/Watchdog",
swiftSettings: [
.swiftLanguageMode(.v6),
.treatAllWarnings(as: .error),
]
),
.executableTarget(
name: "Blackbox",
dependencies: [
"ObjCExceptionCatcher",
.product(name: "Sparkle", package: "Sparkle"),
.product(name: "DTLNAecCoreML", package: "dtln-aec-coreml"),
.product(name: "DTLNAec256", package: "dtln-aec-coreml"),
],
path: "Sources",
exclude: ["ObjCExceptionCatcher", "Watchdog"],
swiftSettings: [
.swiftLanguageMode(.v6),
.defaultIsolation(MainActor.self),
.treatAllWarnings(as: .error),
]
),
.testTarget(
name: "BlackboxTests",
dependencies: ["Blackbox"],
path: "Tests",
resources: [
.copy("Fixtures"),
],
swiftSettings: [
.swiftLanguageMode(.v6),
.defaultIsolation(MainActor.self),
]
),
]
)