1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 19:21:39 +03:00
vimr/bin/build_nvimserver_for_local_dev.sh

22 lines
615 B
Bash
Raw Normal View History

#!/bin/bash
set -Eeuo pipefail
2020-12-05 13:54:08 +03:00
declare -r -x clean=${clean:-false}
declare -r -x build_libnvim=${build_libnvim:-true}
2020-12-24 18:32:41 +03:00
declare -r -x build_dir=${build_dir:-"./.build"}
main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
2020-12-05 13:54:08 +03:00
pushd "./NvimServer"
./NvimServer/bin/build_nvimserver.sh
2022-06-26 20:01:16 +03:00
cp ./.build/apple/Products/Release/NvimServer ../NvimView/Sources/NvimView/Resources
2020-12-24 14:12:07 +03:00
cp -r ./runtime ../NvimView/Sources/NvimView/Resources
cp ../NvimView/Sources/NvimView/Resources/com.qvacua.NvimView.vim ../NvimView/Sources/NvimView/Resources/runtime/plugin
2020-12-05 13:54:08 +03:00
popd >/dev/null
popd >/dev/null
}
2020-09-06 14:49:13 +03:00
main