-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift
More file actions
54 lines (52 loc) · 1.97 KB
/
Copy pathPackage.swift
File metadata and controls
54 lines (52 loc) · 1.97 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
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "warp-command-runner",
platforms: [
.macOS(.v13)
],
products: [
.executable(
name: "warp-command-runner",
targets: ["WarpCommandRunner"]
),
.executable(
name: "ConfigManager",
targets: ["ConfigManager"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
.package(url: "https://github.com/modelcontextprotocol/swift-sdk.git", .upToNextMinor(from: "0.10.0")),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.3"),
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.3.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.62.0"),
],
targets: [
.executableTarget(
name: "WarpCommandRunner",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "MCP", package: "swift-sdk"),
.product(name: "Logging", package: "swift-log"),
.product(name: "ServiceLifecycle", package: "swift-service-lifecycle"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOHTTP1", package: "swift-nio"),
.product(name: "NIOPosix", package: "swift-nio"),
.product(name: "NIOFoundationCompat", package: "swift-nio"),
],
linkerSettings: [
.linkedLibrary("sqlite3")
]
),
.executableTarget(
name: "ConfigManager",
dependencies: []
),
.testTarget(
name: "WarpCommandRunnerTests",
dependencies: ["WarpCommandRunner"]
),
]
)