-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
43 lines (42 loc) · 1.26 KB
/
Package.swift
File metadata and controls
43 lines (42 loc) · 1.26 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "Autoclaw",
platforms: [.macOS(.v14)],
dependencies: [
.package(url: "https://github.com/argmaxinc/WhisperKit.git", from: "0.12.0"),
],
targets: [
.target(
name: "AutoclawTheater",
path: "Sources/Theater",
linkerSettings: [
.linkedFramework("AppKit"),
.linkedFramework("AVFoundation"),
]
),
.executableTarget(
name: "Autoclaw",
dependencies: ["WhisperKit", "AutoclawTheater"],
path: "Sources",
exclude: ["Theater"],
resources: [
.copy("../Resources"),
],
linkerSettings: [
.linkedFramework("AppKit"),
.linkedFramework("AVFoundation"),
.linkedFramework("Speech"),
.linkedFramework("Vision"),
.linkedFramework("ScreenCaptureKit"),
.linkedFramework("NaturalLanguage"),
.linkedFramework("CoreML"),
]
),
.executableTarget(
name: "WhisperTest",
dependencies: ["WhisperKit"],
path: "Tests"
),
]
)