-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathPackage.swift
More file actions
20 lines (19 loc) · 1000 Bytes
/
Copy pathPackage.swift
File metadata and controls
20 lines (19 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "LeftOpen",
platforms: [.macOS(.v14)],
products: [
.library(name: "LeftOpenCore", targets: ["LeftOpenCore"]),
.executable(name: "LeftOpenApp", targets: ["LeftOpenApp"]),
.executable(name: "leftopen", targets: ["LeftOpenCLI"]),
],
targets: [
.target(name: "LeftOpenCore", path: "Sources/LeftOpenCore"),
.executableTarget(name: "LeftOpenApp", dependencies: ["LeftOpenCore"], path: "Sources/LeftOpenApp",
resources: [.copy("Resources/FranklinSignature.svg"), .copy("Resources/GitHubMark.svg"),
.copy("Resources/DoorClose.aiff"), .copy("Resources/DoorOpen.aiff")]),
.executableTarget(name: "LeftOpenCLI", dependencies: ["LeftOpenCore"], path: "Sources/LeftOpenCLI"),
.testTarget(name: "LeftOpenCoreTests", dependencies: ["LeftOpenCore"], path: "Tests/LeftOpenCoreTests"),
]
)