-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathPackage.swift
More file actions
47 lines (44 loc) · 1.29 KB
/
Package.swift
File metadata and controls
47 lines (44 loc) · 1.29 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
// swift-tools-version: 6.2
import PackageDescription
let concurrencySettings: [SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("ExistentialAny"),
.defaultIsolation(MainActor.self),
]
let package = Package(
name: "GhostOS",
platforms: [
.macOS(.v14),
],
products: [
.library(name: "GhostOS", targets: ["GhostOS"]),
.executable(name: "ghost", targets: ["ghost"]),
],
dependencies: [
.package(url: "https://github.com/steipete/AXorcist.git", from: "0.1.0"),
],
targets: [
.target(
name: "GhostOS",
dependencies: [
.product(name: "AXorcist", package: "AXorcist"),
],
path: "Sources/GhostOS",
swiftSettings: concurrencySettings,
linkerSettings: [.linkedFramework("ScreenCaptureKit")]
),
.executableTarget(
name: "ghost",
dependencies: ["GhostOS"],
path: "Sources/ghost",
swiftSettings: concurrencySettings
),
.testTarget(
name: "GhostOSTests",
dependencies: ["GhostOS"],
path: "Tests/GhostOSTests",
swiftSettings: concurrencySettings
),
],
swiftLanguageModes: [.v6]
)