Repository navigation
Expand file tree
/
Copy pathPackage.swift
More file actions
51 lines (50 loc) · 1.77 KB
/
Copy pathPackage.swift
File metadata and controls
51 lines (50 loc) · 1.77 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
48
49
50
51
// swift-tools-version:5.10
import PackageDescription
let package = Package(
name: "Vertty",
platforms: [.macOS(.v14)],
dependencies: [
.package(path: "VerttyKit"),
.package(url: "https://github.com/sparkle-project/Sparkle", exact: "2.10.0"),
],
targets: [
.target(
name: "GhosttyC",
path: "Sources/GhosttyC"
),
.executableTarget(
name: "Vertty",
dependencies: [
"GhosttyC",
.product(name: "Sparkle", package: "Sparkle"),
.product(name: "VerttyRemote", package: "VerttyKit"),
.product(name: "VerttyTailnet", package: "VerttyKit"),
.product(name: "VerttyUI", package: "VerttyKit"),
],
path: "Sources/Vertty",
linkerSettings: [
.unsafeFlags(["-L", "build/ghostty/lib", "-Xlinker", "-rpath", "-Xlinker", "@executable_path/../Frameworks"]),
.linkedLibrary("ghostty"),
.linkedLibrary("c++"),
.linkedLibrary("sqlite3"),
.linkedFramework("AppKit"),
.linkedFramework("Carbon"),
.linkedFramework("CoreText"),
.linkedFramework("CoreVideo"),
.linkedFramework("IOSurface"),
.linkedFramework("Metal"),
.linkedFramework("QuartzCore"),
.linkedFramework("UserNotifications"),
]
),
.executableTarget(name: "vertty-sleep", path: "Sources/VerttySleep"),
.executableTarget(
name: "vertty-hook",
path: "Sources/VerttyHook"
),
.executableTarget(
name: "vertty-schedule",
path: "Sources/VerttySchedule"
),
]
)