2020-08-18 20:37:39 +03:00
|
|
|
// swift-tools-version:5.3
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "RxPack",
|
|
|
|
platforms: [.macOS(.v10_13)],
|
|
|
|
products: [
|
2020-08-19 00:41:33 +03:00
|
|
|
.library(name: "RxPack", targets: ["RxPack"]),
|
2020-08-18 20:37:39 +03:00
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
.package(url: "https://github.com/ReactiveX/RxSwift", .upToNextMinor(from: "5.1.1")),
|
|
|
|
.package(name: "MessagePack", url: "https://github.com/a2/MessagePack.swift", .upToNextMinor(from: "4.0.0")),
|
|
|
|
.package(name: "Socket", url: "https://github.com/IBM-Swift/BlueSocket", .upToNextMinor(from: "1.0.52")),
|
2020-08-19 00:41:33 +03:00
|
|
|
.package(url: "https://github.com/Quick/Nimble", .upToNextMinor(from: "8.1.1")),
|
2020-08-18 20:37:39 +03:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "RxPack",
|
|
|
|
dependencies: ["RxSwift", "MessagePack", "Socket"]
|
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "RxPackTests",
|
2020-08-19 00:41:33 +03:00
|
|
|
dependencies: ["RxPack", "Nimble"]
|
2020-08-18 20:37:39 +03:00
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|