1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 19:21:39 +03:00
vimr/NvimView/Package.swift
2020-08-18 19:37:39 +02:00

34 lines
1013 B
Swift

// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "NvimView",
platforms: [.macOS(.v10_13)],
products: [
.library(name: "NvimView", targets: ["NvimView"]),
],
dependencies: [
.package(name: "MessagePack", url: "https://github.com/a2/MessagePack.swift", .upToNextMinor(from: "4.0.0")),
.package(url: "https://github.com/ReactiveX/RxSwift", .upToNextMinor(from: "5.1.1")),
.package(name: "NvimServerTypes", url: "https://github.com/qvacua/neovim", .exact("0.1.0-types")),
.package(name: "RxPack", path: "../RxPack"),
],
targets: [
.target(
name: "NvimView",
dependencies: ["RxSwift", "NvimServerTypes", "RxPack", "MessagePack"],
// com.qvacua.NvimView.vim is copied by the download NvimServer script.
exclude: ["com.qvacua.NvimView.vim"],
resources: [
.copy("runtime"),
.copy("NvimServer"),
]
),
.testTarget(
name: "NvimViewTests",
dependencies: ["NvimView"]
),
]
)