31 lines
897 B
Swift
31 lines
897 B
Swift
// swift-tools-version:5.5
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "AppSyncRealTimeClient",
|
|
products: [
|
|
.library(
|
|
name: "AppSyncRealTimeClient",
|
|
targets: ["AppSyncRealTimeClient"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/daltoniam/Starscream", .upToNextMinor(from: "4.0.4"))
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "AppSyncRealTimeClient",
|
|
dependencies: ["Starscream"],
|
|
path: "AppSyncRealTimeClient",
|
|
exclude: ["Info.plist"]
|
|
),
|
|
.testTarget(
|
|
name: "AppSyncRealTimeClientTests",
|
|
dependencies: ["AppSyncRealTimeClient"],
|
|
path: "AppSyncRealTimeClientTests",
|
|
exclude: ["Info.plist"]
|
|
)
|
|
]
|
|
)
|