1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 03:25:03 +03:00

Copy NvimView.vim to plugin

This commit is contained in:
Tae Won Ha 2020-08-18 17:43:52 +02:00
parent 2147eca02f
commit 26c287f845
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 3 additions and 1 deletions

View File

@ -17,9 +17,10 @@ let package = Package(
.target(
name: "NvimView",
dependencies: ["RxSwift", "MessagePack", "Socket"],
// com.qvacua.NvimView.vim is copied by the download NvimServer script.
exclude: ["com.qvacua.NvimView.vim"],
resources: [
.copy("runtime"),
.copy("com.qvacua.NvimView.vim"),
.copy("NvimServer"),
]
),

View File

@ -22,6 +22,7 @@ download_nvimserver() {
cp -r "${nvimserver_dir_path}/NvimServer" NvimView/Sources/NvimView/
cp -r "${nvimserver_dir_path}/runtime" NvimView/Sources/NvimView/
cp NvimView/Sources/NvimView/com.qvacua.NvimView.vim NvimView/Sources/NvimView/runtime/plugin
echo "### Downloaded NvimServer"
}