-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
24 lines (23 loc) · 856 Bytes
/
Copy pathPackage.swift
File metadata and controls
24 lines (23 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "Footswitch",
platforms: [.macOS(.v13)],
targets: [
.target(name: "FootswitchCore"),
.executableTarget(
name: "Footswitch",
dependencies: ["FootswitchCore"],
// Info.plist, AppIcon.icns, and the .lproj localizations are bundle
// artifacts, not SwiftPM resources — the packaging scripts copy them
// into the .app's Contents/ directly. Exclude them from the SwiftPM
// resource bundle.
exclude: ["Resources/Info.plist", "Resources/AppIcon.icns", "Resources/Localizations"],
resources: [.process("Resources")]
),
.testTarget(
name: "FootswitchCoreTests",
dependencies: ["FootswitchCore"]
),
]
)