Repository navigation
Expand file tree
/
Copy pathPackage.swift
More file actions
148 lines (146 loc) · 5.1 KB
/
Copy pathPackage.swift
File metadata and controls
148 lines (146 loc) · 5.1 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
// swift-tools-version: 6.0
//
// Root manifest so downstream hosts depend on rivet as a released SwiftPM
// package (issue #238):
//
// .package(url: "https://github.com/turinglambdaai/rivet.git",
// from: "0.11.0")
//
// The in-repo platform packages under platform/ keep their own manifests
// for path-based consumption from `raco rivet build` environments; this
// root package exposes the same products from a tag.
import PackageDescription
let package = Package(
name: "rivet",
platforms: [
.macOS(.v14),
.iOS(.v16),
.watchOS(.v9)
],
products: [
.library(name: "RivetRuntime", targets: ["RivetRuntime"]),
.library(name: "RivetDevice", targets: ["RivetDevice"]),
.library(
name: "RivetDeviceAppleSecurity",
targets: ["RivetDeviceAppleSecurity"]
),
.library(name: "RivetDeviceSession", targets: ["RivetDeviceSession"]),
.library(
name: "RivetDeviceAppleTransport",
targets: ["RivetDeviceAppleTransport"]
),
.library(name: "RivetWatchConnectivity", targets: ["RivetWatchConnectivity"]),
.library(name: "RivetEmbedding", targets: ["RivetEmbedding"]),
.library(name: "RivetSystem", targets: ["RivetSystem"]),
.library(name: "RivetUpdate", targets: ["RivetUpdate"]),
.library(name: "RivetUI", targets: ["RivetUI"])
],
targets: [
.target(
name: "RivetRuntime",
path: "platform/macos/Sources/RivetRuntime"
),
.target(
name: "RivetDevice",
path: "platform/macos/Sources/RivetDevice"
),
.target(
name: "RivetDeviceAppleSecurity",
dependencies: ["RivetDevice"],
path: "platform/macos/Sources/RivetDeviceAppleSecurity",
linkerSettings: [
.linkedFramework("Security")
]
),
.target(
name: "RivetDeviceSession",
dependencies: ["RivetDevice", "RivetRuntime"],
path: "platform/macos/Sources/RivetDeviceSession",
linkerSettings: [
.linkedFramework("CryptoKit")
]
),
.target(
name: "RivetDeviceAppleTransport",
dependencies: ["RivetDevice", "RivetDeviceSession"],
path: "platform/macos/Sources/RivetDeviceAppleTransport",
linkerSettings: [
.linkedFramework("CryptoKit"),
.linkedFramework("Network"),
.linkedFramework("Security")
]
),
.target(
name: "RivetWatchConnectivity",
dependencies: ["RivetDevice"],
path: "platform/macos/Sources/RivetWatchConnectivity"
),
.target(
name: "CRivetRacket",
path: "platform/macos/Sources/CRivetRacket",
publicHeadersPath: "include"
),
.target(
name: "RivetEmbedding",
dependencies: ["RivetRuntime", "CRivetRacket"],
path: "platform/macos/Sources/RivetEmbedding"
),
.target(
name: "RivetSystem",
path: "platform/macos/Sources/RivetSystem",
linkerSettings: [
.linkedFramework("AppKit"),
.linkedFramework("Security"),
.linkedFramework("ServiceManagement"),
.linkedFramework("UserNotifications")
]
),
.target(
name: "RivetUI",
dependencies: ["RivetRuntime"],
path: "platform/macos/Sources/RivetUI"
),
.target(
name: "RivetUpdate",
path: "platform/macos/Sources/RivetUpdate",
linkerSettings: [
.linkedFramework("CryptoKit")
]
),
.testTarget(
name: "RivetRuntimeTests",
dependencies: ["RivetRuntime"],
path: "platform/macos/Tests/RivetRuntimeTests"
),
.testTarget(
name: "RivetDeviceTests",
dependencies: ["RivetDevice"],
path: "platform/macos/Tests/RivetDeviceTests"
),
.testTarget(
name: "RivetDeviceAppleSecurityTests",
dependencies: ["RivetDevice", "RivetDeviceAppleSecurity"],
path: "platform/macos/Tests/RivetDeviceAppleSecurityTests"
),
.testTarget(
name: "RivetDeviceSessionTests",
dependencies: ["RivetDevice", "RivetDeviceSession"],
path: "platform/macos/Tests/RivetDeviceSessionTests"
),
.testTarget(
name: "RivetDeviceAppleTransportTests",
dependencies: ["RivetDeviceAppleTransport", "RivetDeviceSession"],
path: "platform/macos/Tests/RivetDeviceAppleTransportTests"
),
.testTarget(
name: "RivetSystemTests",
dependencies: ["RivetSystem"],
path: "platform/macos/Tests/RivetSystemTests"
),
.testTarget(
name: "RivetUpdateTests",
dependencies: ["RivetUpdate"],
path: "platform/macos/Tests/RivetUpdateTests"
)
]
)