forked from microsoft/agent-host-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
51 lines (48 loc) · 1.63 KB
/
Copy pathPackage.swift
File metadata and controls
51 lines (48 loc) · 1.63 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.9
import PackageDescription
// AgentHostProtocol is the official Swift client for the Agent Host Protocol.
//
// Although this repository is polyglot (TypeScript-first, with Rust and Swift
// clients), Package.swift lives at the repo root because Swift Package Manager
// only resolves remote packages whose manifest is at the repository root.
// The actual Swift sources live under clients/swift/AgentHostProtocol/.
let package = Package(
name: "AgentHostProtocol",
platforms: [
.iOS(.v16),
.macOS(.v13),
.tvOS(.v16),
.watchOS(.v9),
],
products: [
.library(
name: "AgentHostProtocol",
targets: ["AgentHostProtocol"]
),
.library(
name: "AgentHostProtocolClient",
targets: ["AgentHostProtocolClient"]
),
],
targets: [
.target(
name: "AgentHostProtocol",
path: "clients/swift/AgentHostProtocol/Sources/AgentHostProtocol"
),
.target(
name: "AgentHostProtocolClient",
dependencies: ["AgentHostProtocol"],
path: "clients/swift/AgentHostProtocol/Sources/AgentHostProtocolClient"
),
.testTarget(
name: "AgentHostProtocolTests",
dependencies: ["AgentHostProtocol"],
path: "clients/swift/AgentHostProtocol/Tests/AgentHostProtocolTests"
),
.testTarget(
name: "AgentHostProtocolClientTests",
dependencies: ["AgentHostProtocolClient"],
path: "clients/swift/AgentHostProtocol/Tests/AgentHostProtocolClientTests"
),
]
)