1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 03:01:38 +03:00
vimr/bin/build_nvimserver_for_local_dev.sh
2023-11-08 18:32:11 +01:00

25 lines
594 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
declare -r -x clean=${clean:-false}
main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
pushd "./NvimServer"
./NvimServer/bin/build_neovim.sh
popd
pushd ./Neovim/build
tar -xf nvim-macos.tar.gz
cp ./nvim-macos/bin/nvim ../../NvimView/Sources/NvimView/Resources/NvimServer
cp -r ./nvim-macos/share/nvim/runtime ../../NvimView/Sources/NvimView/Resources
popd
cp ./NvimView/Sources/NvimView/Resources/com.qvacua.NvimView.vim ./NvimView/Sources/NvimView/Resources/runtime/plugin
popd >/dev/null
}
main