1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-27 14:14:19 +03:00
vimr/RxPack/Package.swift
2024-04-26 14:27:46 +02:00

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"),
]
),
]
)