Repository navigation
Expand file tree
/
Copy pathPackage.swift
More file actions
26 lines (24 loc) · 1.54 KB
/
Copy pathPackage.swift
File metadata and controls
26 lines (24 loc) · 1.54 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
// swift-tools-version: 5.9
import PackageDescription
// The Keep Mac Awake core: everything that runs as root or at install time.
let package = Package(
name: "KeepMacAwakeCore",
platforms: [.macOS("26.0")],
products: [
.library(name: "KeepMacAwakeCore", targets: ["KeepMacAwakeCore"]),
.library(name: "KeepMacAwakeControlProtocol", targets: ["KeepMacAwakeControlProtocol"]),
.library(name: "KeepMacAwakeControlCore", targets: ["KeepMacAwakeControlCore"]),
.library(name: "KeepMacAwakeServiceSupport", targets: ["KeepMacAwakeServiceSupport"]),
.executable(name: "KeepMacAwakeHelper", targets: ["KeepMacAwakeHelper"]),
],
targets: [
.target(name: "KeepMacAwakeCore"),
.target(name: "KeepMacAwakeControlProtocol"),
.target(name: "KeepMacAwakeControlCore", linkerSettings: [.linkedFramework("IOKit")]),
.target(name: "KeepMacAwakeServiceSupport", dependencies: ["KeepMacAwakeControlCore", "KeepMacAwakeControlProtocol"]),
.executableTarget(name: "KeepMacAwakeHelper", dependencies: ["KeepMacAwakeCore", "KeepMacAwakeControlCore", "KeepMacAwakeControlProtocol", "KeepMacAwakeServiceSupport"], linkerSettings: [.linkedFramework("SystemConfiguration")]),
.testTarget(name: "KeepMacAwakeCoreTests", dependencies: ["KeepMacAwakeCore"]),
.testTarget(name: "KeepMacAwakeControlCoreTests", dependencies: ["KeepMacAwakeControlCore"]),
.testTarget(name: "KeepMacAwakeHelperTests", dependencies: ["KeepMacAwakeServiceSupport", "KeepMacAwakeControlProtocol"]),
]
)