-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathPackage.swift
More file actions
227 lines (225 loc) · 10.5 KB
/
Copy pathPackage.swift
File metadata and controls
227 lines (225 loc) · 10.5 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "Lithe",
platforms: [
.macOS(.v13)
],
products: [
.executable(name: "Lithe", targets: ["Lithe"]),
.library(name: "LitheModuleAPI", targets: ["LitheModuleAPI"]),
.library(name: "LitheApplicationKernel", targets: ["LitheApplicationKernel"]),
.library(name: "LitheCoreContracts", targets: ["LitheCoreContracts"]),
.library(name: "LitheGitModule", targets: ["LitheGitModule"]),
.library(name: "LitheSearchModule", targets: ["LitheSearchModule"]),
.library(name: "LitheLocalHistoryModule", targets: ["LitheLocalHistoryModule"]),
.library(name: "LitheTerminalModule", targets: ["LitheTerminalModule"]),
.library(name: "LitheDatabaseModule", targets: ["LitheDatabaseModule"]),
.library(name: "LitheAIAssistanceModule", targets: ["LitheAIAssistanceModule"]),
.library(name: "LitheExecutionModule", targets: ["LitheExecutionModule"]),
.library(name: "LitheDebugModule", targets: ["LitheDebugModule"]),
.library(name: "LitheLanguageIntelligenceModule", targets: ["LitheLanguageIntelligenceModule"]),
.library(name: "LitheWorkspaceModule", targets: ["LitheWorkspaceModule"]),
.library(name: "LitheGoSupportModule", targets: ["LitheGoSupportModule"]),
.executable(name: "LitheCoreVerifier", targets: ["LitheCoreVerifier"]),
.executable(name: "LitheGitGraphVerifier", targets: ["LitheGitGraphVerifier"]),
.executable(name: "LitheOfficialPluginVerifier", targets: ["LitheOfficialPluginVerifier"])
],
dependencies: [
.package(url: "https://github.com/migueldeicaza/SwiftTerm.git", exact: "1.15.0")
],
targets: [
.target(
name: "LitheModuleAPI",
path: "macos/Sources/LitheModuleAPI",
swiftSettings: [
.swiftLanguageMode(.v6)
]
),
.target(
name: "LitheApplicationKernel",
dependencies: ["LitheModuleAPI"],
path: "macos/Sources/LitheApplicationKernel",
swiftSettings: [
.swiftLanguageMode(.v6)
]
),
.target(
name: "LitheCoreContracts",
dependencies: ["LitheModuleAPI"],
path: "macos/Sources/LitheCoreContracts",
swiftSettings: [
.swiftLanguageMode(.v6)
]
),
.target(
name: "LitheGitModule",
dependencies: ["LitheModuleAPI", "LitheCoreContracts"],
path: "macos/Sources/LitheGitModule",
swiftSettings: [
.swiftLanguageMode(.v6)
]
),
.target(
name: "LitheSearchModule",
dependencies: ["LitheModuleAPI", "LitheCoreContracts"],
path: "macos/Sources/LitheSearchModule",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.target(
name: "LitheLocalHistoryModule",
dependencies: ["LitheModuleAPI", "LitheCoreContracts"],
path: "macos/Sources/LitheLocalHistoryModule",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.target(name: "LitheTerminalModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheTerminalModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheDatabaseModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheDatabaseModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheAIAssistanceModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheAIAssistanceModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheExecutionModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheExecutionModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheDebugModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheDebugModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheLanguageIntelligenceModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheLanguageIntelligenceModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheWorkspaceModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "macos/Sources/LitheWorkspaceModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(name: "LitheGoSupportModule", dependencies: ["LitheModuleAPI", "LitheCoreContracts"], path: "Plugins/mac/Official/GoSupport/Sources/LitheGoSupportModule", swiftSettings: [.swiftLanguageMode(.v6)]),
.target(
name: "LitheRustCore",
path: "macos/Sources/LitheRustCore",
publicHeadersPath: "include"
),
.executableTarget(
name: "Lithe",
dependencies: [
"LitheModuleAPI",
"LitheApplicationKernel",
"LitheCoreContracts",
"LitheGitModule",
"LitheSearchModule",
"LitheLocalHistoryModule",
"LitheTerminalModule",
"LitheDatabaseModule",
"LitheAIAssistanceModule",
"LitheExecutionModule",
"LitheDebugModule",
"LitheLanguageIntelligenceModule",
"LitheWorkspaceModule",
"LitheRustCore",
.product(name: "SwiftTerm", package: "SwiftTerm")
],
path: "macos/Sources/Lithe",
resources: [
.copy("Resources/MarkdownPreview"),
.copy("Resources/SyntaxHighlighting"),
.copy("Resources/WorkbenchBackgrounds")
],
swiftSettings: [
.swiftLanguageMode(.v5)
]
),
.testTarget(
name: "LitheTests",
dependencies: ["Lithe", "LitheModuleAPI", "LitheApplicationKernel", "LitheCoreContracts", "LitheGitModule", "LitheDatabaseModule", "LitheAIAssistanceModule", "LitheLanguageIntelligenceModule", "LitheGoSupportModule"],
path: "macos/Tests/LitheTests",
resources: [
.copy("Fixtures")
],
swiftSettings: [
.swiftLanguageMode(.v6)
]
),
.testTarget(
name: "LitheApplicationKernelTests",
dependencies: ["LitheModuleAPI", "LitheApplicationKernel"],
path: "macos/Tests/LitheApplicationKernelTests",
swiftSettings: [
.swiftLanguageMode(.v6)
]
),
.testTarget(
name: "LitheTerminalModuleTests",
dependencies: ["LitheTerminalModule"],
path: "macos/Tests/LitheTerminalModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheAIAssistanceModuleTests",
dependencies: ["LitheAIAssistanceModule", "LitheApplicationKernel", "LitheCoreContracts"],
path: "macos/Tests/LitheAIAssistanceModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheSearchModuleTests",
dependencies: ["LitheSearchModule", "LitheApplicationKernel"],
path: "macos/Tests/LitheSearchModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheLocalHistoryModuleTests",
dependencies: ["LitheLocalHistoryModule", "LitheApplicationKernel"],
path: "macos/Tests/LitheLocalHistoryModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheGitModuleTests",
dependencies: ["LitheGitModule", "LitheApplicationKernel"],
path: "macos/Tests/LitheGitModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheDatabaseModuleTests",
dependencies: ["LitheDatabaseModule", "LitheApplicationKernel"],
path: "macos/Tests/LitheDatabaseModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheLanguageIntelligenceModuleTests",
dependencies: ["LitheLanguageIntelligenceModule", "LitheApplicationKernel", "LitheCoreContracts"],
path: "macos/Tests/LitheLanguageIntelligenceModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheDebugModuleTests",
dependencies: ["LitheDebugModule", "LitheApplicationKernel"],
path: "macos/Tests/LitheDebugModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheExecutionModuleTests",
dependencies: ["LitheExecutionModule", "LitheApplicationKernel", "LitheCoreContracts"],
path: "macos/Tests/LitheExecutionModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheWorkspaceModuleTests",
dependencies: ["LitheWorkspaceModule", "LitheApplicationKernel"],
path: "macos/Tests/LitheWorkspaceModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.testTarget(
name: "LitheGoSupportModuleTests",
dependencies: [
"LitheGoSupportModule",
"LitheApplicationKernel",
"LitheLanguageIntelligenceModule"
],
path: "Plugins/mac/Official/GoSupport/Tests/LitheGoSupportModuleTests",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.executableTarget(
name: "LitheCoreVerifier",
dependencies: ["LitheCoreContracts", "LitheGitModule", "LitheSearchModule"],
path: "macos/Tests/LitheCoreVerifier",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.executableTarget(
name: "LitheGitGraphVerifier",
dependencies: ["LitheGitModule"],
path: "macos/Tests/LitheGitGraphVerifier",
swiftSettings: [.swiftLanguageMode(.v6)]
),
.executableTarget(
name: "LitheOfficialPluginVerifier",
dependencies: ["LitheModuleAPI", "LitheApplicationKernel", "LitheCoreContracts"],
path: "macos/Tests/LitheOfficialPluginVerifier",
swiftSettings: [.swiftLanguageMode(.v6)]
)
]
)