32 lines
977 B
Swift
32 lines
977 B
Swift
// swift-tools-version: 6.0
|
|
// T-iOS-1 scaffold shell. APIClient / Endpoints / Models / PairingProbe /
|
|
// PairingError land in T-iOS-8 (P1 increments via T-iOS-38, single owner).
|
|
// Dependency direction is strictly downward: APIClient → WireProtocol only.
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "APIClient",
|
|
platforms: [.iOS(.v17), .macOS(.v14)],
|
|
products: [
|
|
.library(name: "APIClient", targets: ["APIClient"]),
|
|
],
|
|
dependencies: [
|
|
.package(path: "../WireProtocol"),
|
|
.package(path: "../TestSupport"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "APIClient",
|
|
dependencies: [.product(name: "WireProtocol", package: "WireProtocol")]
|
|
),
|
|
.testTarget(
|
|
name: "APIClientTests",
|
|
dependencies: [
|
|
"APIClient",
|
|
.product(name: "TestSupport", package: "TestSupport"),
|
|
]
|
|
),
|
|
],
|
|
swiftLanguageModes: [.v6]
|
|
)
|