mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-30 09:12:09 +03:00
42 lines
1.4 KiB
Swift
42 lines
1.4 KiB
Swift
// swift-tools-version:5.6
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "NvimView",
|
|
platforms: [.macOS(.v10_15)],
|
|
products: [
|
|
.library(name: "NvimView", targets: ["NvimView"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/qvacua/RxPack.swift", from: "0.2.0"),
|
|
.package(url: "https://github.com/a2/MessagePack.swift", from: "4.0.0"),
|
|
.package(url: "https://github.com/ReactiveX/RxSwift", from: "6.5.0"),
|
|
.package(url: "https://github.com/Quick/Nimble", from: "11.1.0"),
|
|
.package(name: "NvimServer", path: "../NvimServer"),
|
|
.package(name: "Commons", path: "../Commons"),
|
|
.package(name: "Tabs", path: "../Tabs"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "NvimView",
|
|
dependencies: [
|
|
.product(name: "RxSwift", package: "RxSwift"),
|
|
.product(name: "RxPack", package: "RxPack.swift"),
|
|
"Tabs",
|
|
.product(name: "RxNeovim", package: "NvimServer"),
|
|
.product(name: "NvimServerTypes", package: "NvimServer"),
|
|
.product(name: "MessagePack", package: "MessagePack.swift"),
|
|
"Commons",
|
|
],
|
|
// com.qvacua.NvimView.vim is copied by the download NvimServer script.
|
|
exclude: ["Resources/com.qvacua.NvimView.vim"],
|
|
resources: [
|
|
.copy("Resources/runtime"),
|
|
.copy("Resources/NvimServer"),
|
|
]
|
|
),
|
|
.testTarget(name: "NvimViewTests", dependencies: ["NvimView", "Nimble"]),
|
|
]
|
|
)
|