1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 00:34:26 +03:00
vimr/NvimView/Package.swift

48 lines
1.3 KiB
Swift
Raw Normal View History

2020-08-18 00:28:24 +03:00
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "NvimView",
platforms: [.macOS(.v10_13)],
products: [
.library(name: "NvimView", targets: ["NvimView"]),
2020-08-18 00:28:24 +03:00
],
dependencies: [
2020-09-19 00:14:20 +03:00
.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")),
2020-12-06 12:55:20 +03:00
.package(url: "https://github.com/Quick/Nimble", .upToNextMinor(from: "8.1.1")),
2020-12-24 18:00:26 +03:00
.package(name: "NvimServer", path: "../NvimServer"),
2020-08-18 20:37:39 +03:00
.package(name: "RxPack", path: "../RxPack"),
2020-08-19 00:07:22 +03:00
.package(name: "Commons", path: "../Commons"),
2020-12-06 12:55:20 +03:00
.package(name: "Tabs", path: "../Tabs"),
2020-08-18 00:28:24 +03:00
],
targets: [
.target(
name: "NvimView",
2020-12-24 18:00:26 +03:00
dependencies: [
"RxSwift",
"RxPack",
"Tabs",
.product(name: "NvimServerTypes", package: "NvimServer"),
"MessagePack",
"Commons",
],
2020-08-18 18:43:52 +03:00
// com.qvacua.NvimView.vim is copied by the download NvimServer script.
2020-12-24 14:12:07 +03:00
exclude: ["Resources/com.qvacua.NvimView.vim"],
2020-08-18 08:39:03 +03:00
resources: [
2020-12-24 14:12:07 +03:00
.copy("Resources/runtime"),
.copy("Resources/NvimServer"),
]
),
2020-08-18 00:28:24 +03:00
.testTarget(
name: "NvimViewTests",
2020-08-19 01:09:13 +03:00
dependencies: ["NvimView", "Nimble"]
),
2020-08-18 00:28:24 +03:00
]
)