2023-11-04 21:37:44 +03:00
|
|
|
// swift-tools-version: 5.7
|
2022-12-03 19:43:43 +03:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "RxPack",
|
|
|
|
products: [
|
|
|
|
.library(name: "RxPack", targets: ["RxPack"]),
|
|
|
|
.library(name: "RxNeovim", targets: ["RxNeovim"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
2023-11-05 00:01:01 +03:00
|
|
|
.package(url: "https://github.com/ReactiveX/RxSwift", from: "6.6.0"),
|
2022-12-03 19:43:43 +03:00
|
|
|
.package(url: "https://github.com/a2/MessagePack.swift", .upToNextMinor(from: "4.0.0")),
|
|
|
|
.package(url: "https://github.com/IBM-Swift/BlueSocket", from: "2.0.2"),
|
2023-11-05 00:01:01 +03:00
|
|
|
.package(url: "https://github.com/Quick/Nimble", from: "13.0.0"),
|
2022-12-03 19:43:43 +03:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(name: "RxPack", dependencies: [
|
|
|
|
.product(name: "RxSwift", package: "RxSwift"),
|
|
|
|
.product(name: "MessagePack", package: "MessagePack.swift"),
|
|
|
|
.product(name: "Socket", package: "BlueSocket"),
|
|
|
|
]),
|
|
|
|
.testTarget(name: "RxPackTests", dependencies: [
|
|
|
|
"RxPack",
|
|
|
|
.product(name: "RxBlocking", package: "RxSwift"),
|
|
|
|
.product(name: "RxTest", package: "RxSwift"),
|
|
|
|
.product(name: "Nimble", package: "Nimble"),
|
|
|
|
]),
|
|
|
|
.target(
|
|
|
|
name: "RxNeovim",
|
|
|
|
dependencies: [
|
|
|
|
.product(name: "RxSwift", package: "RxSwift"),
|
|
|
|
"RxPack",
|
|
|
|
.product(name: "MessagePack", package: "MessagePack.swift"),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "RxNeovimTests",
|
|
|
|
dependencies: ["RxNeovim"]
|
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|