35 lines
901 B
Swift
35 lines
901 B
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "CocottePlatformAPIClient",
|
|
platforms: [
|
|
.iOS(.v17),
|
|
.watchOS(.v10),
|
|
.macOS(.v14),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "CocottePlatformAPIClient",
|
|
targets: ["CocottePlatformAPIClient"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(path: "../platform-models"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "CocottePlatformAPIClient",
|
|
dependencies: [
|
|
.product(name: "CocottePlatformModels", package: "platform-models"),
|
|
],
|
|
path: "Sources/CocottePlatformAPIClient"
|
|
),
|
|
.testTarget(
|
|
name: "CocottePlatformAPIClientTests",
|
|
dependencies: ["CocottePlatformAPIClient"],
|
|
path: "Tests/CocottePlatformAPIClientTests"
|
|
),
|
|
]
|
|
)
|