-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
38 lines (37 loc) · 1.26 KB
/
Copy pathPackage.swift
File metadata and controls
38 lines (37 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
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "Tankful",
platforms: [.macOS(.v15)],
products: [
.library(name: "TankfulCore", targets: ["TankfulCore"]),
.executable(name: "TankfulApp", targets: ["TankfulApp"]),
.executable(name: "TankfulBridge", targets: ["TankfulBridge"])
],
targets: [
.target(
name: "TankfulCore",
path: "Sources/TankfulCore"
),
.executableTarget(
name: "TankfulApp",
dependencies: ["TankfulCore"],
path: "Sources/TankfulApp",
// Info.plist and AppIcon.png are consumed by Scripts/build-app.sh when
// assembling the bundle, not by SwiftPM.
exclude: ["Resources/Info.plist", "Resources/AppIcon.png"],
resources: [.copy("Resources/PanelIcon.png"), .copy("Resources/MenuIcon.png")]
),
.executableTarget(
name: "TankfulBridge",
dependencies: ["TankfulCore"],
path: "Sources/TankfulBridge"
),
.testTarget(
name: "TankfulCoreTests",
dependencies: ["TankfulCore"],
path: "Tests/TankfulCoreTests",
resources: [.copy("Fixtures")]
)
]
)