mirror of
https://github.com/qvacua/vimr.git
synced 2024-08-17 04:30:30 +03:00
Restructure a bit
This commit is contained in:
parent
ed84e6ac49
commit
9754fdc7bf
4
NvimView/.gitignore
vendored
4
NvimView/.gitignore
vendored
@ -4,5 +4,5 @@
|
||||
/*.xcodeproj
|
||||
xcuserdata/
|
||||
|
||||
Sources/NvimView/runtime
|
||||
Sources/NvimView/NvimServer
|
||||
Sources/NvimView/Resources/runtime
|
||||
Sources/NvimView/Resources/NvimServer
|
||||
|
@ -26,10 +26,10 @@ let package = Package(
|
||||
name: "NvimView",
|
||||
dependencies: ["RxSwift", "RxPack", "Tabs", "NvimServerTypes", "MessagePack", "Commons"],
|
||||
// com.qvacua.NvimView.vim is copied by the download NvimServer script.
|
||||
exclude: ["com.qvacua.NvimView.vim"],
|
||||
exclude: ["Resources/com.qvacua.NvimView.vim"],
|
||||
resources: [
|
||||
.copy("runtime"),
|
||||
.copy("NvimServer"),
|
||||
.copy("Resources/runtime"),
|
||||
.copy("Resources/NvimServer"),
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
|
@ -12,9 +12,9 @@ main() {
|
||||
|
||||
pushd "./NvimServer"
|
||||
./NvimServer/bin/build_nvimserver.sh
|
||||
cp ./build/Build/Products/Release/NvimServer ../NvimView/Sources/NvimView
|
||||
cp -r ./runtime ../NvimView/Sources/NvimView
|
||||
cp ../NvimView/Sources/NvimView/com.qvacua.NvimView.vim ../NvimView/Sources/NvimView/runtime/plugin
|
||||
cp ./build/Build/Products/Release/NvimServer ../NvimView/Sources/NvimView/Resources
|
||||
cp -r ./runtime ../NvimView/Sources/NvimView/Resources
|
||||
cp ../NvimView/Sources/NvimView/Resources/com.qvacua.NvimView.vim ../NvimView/Sources/NvimView/Resources/runtime/plugin
|
||||
|
||||
popd >/dev/null
|
||||
|
||||
|
@ -22,9 +22,9 @@ download_nvimserver() {
|
||||
tar xf "NvimServer.tar.bz2"
|
||||
popd >/dev/null
|
||||
|
||||
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
|
||||
cp -r "${nvimserver_dir_path}/NvimServer" NvimView/Sources/NvimView/Resources
|
||||
cp -r "${nvimserver_dir_path}/runtime" NvimView/Sources/NvimView/Resources
|
||||
cp NvimView/Sources/NvimView/Resources/com.qvacua.NvimView.vim NvimView/Sources/NvimView/Resources/runtime/plugin
|
||||
|
||||
echo "### Downloaded NvimServer"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user