mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-04 19:37:58 +03:00
43 lines
1.3 KiB
Swift
43 lines
1.3 KiB
Swift
// swift-tools-version: 5.7
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "RxPack",
|
|
products: [
|
|
.library(name: "RxPack", targets: ["RxPack"]),
|
|
.library(name: "RxNeovim", targets: ["RxNeovim"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/ReactiveX/RxSwift", from: "6.5.0"),
|
|
.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"),
|
|
.package(url: "https://github.com/Quick/Nimble", from: "11.1.0"),
|
|
],
|
|
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"]
|
|
),
|
|
]
|
|
)
|