mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-18 03:01:38 +03:00
23 lines
657 B
Bash
Executable File
23 lines
657 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
declare -x target; target="$(uname -m)"; readonly target
|
|
declare -r -x clean=${clean:-false}
|
|
declare -r -x build_libnvim=${build_libnvim:-true}
|
|
declare -r -x build_dir=${build_dir:-"./.build"}
|
|
|
|
main() {
|
|
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
|
|
|
|
pushd "./NvimServer"
|
|
./NvimServer/bin/build_nvimserver.sh
|
|
cp ./.build/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
|
|
|
|
popd >/dev/null
|
|
}
|
|
|
|
main
|