mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-23 19:21:53 +03:00
46 lines
1.3 KiB
Swift
46 lines
1.3 KiB
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "RxPack",
|
|
platforms: [.macOS(.v12)],
|
|
products: [
|
|
.library(name: "RxPack", targets: ["RxPack"]),
|
|
.library(name: "RxNeovim", targets: ["RxNeovim"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/ReactiveX/RxSwift", from: "6.6.0"),
|
|
.package(url: "https://github.com/a2/MessagePack.swift", .upToNextMinor(from: "4.0.0")),
|
|
.package(url: "https://github.com/Quick/Nimble", from: "13.3.0"),
|
|
],
|
|
targets: [
|
|
.target(name: "RxPack", dependencies: [
|
|
.product(name: "RxSwift", package: "RxSwift"),
|
|
.product(name: "MessagePack", package: "MessagePack.swift"),
|
|
]),
|
|
.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",
|
|
.product(name: "RxBlocking", package: "RxSwift"),
|
|
.product(name: "Nimble", package: "Nimble"),
|
|
]
|
|
),
|
|
]
|
|
)
|