mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-19 03:31:32 +03:00
25 lines
537 B
Bash
25 lines
537 B
Bash
|
#!/bin/bash
|
||
|
set -Eeuo pipefail
|
||
|
|
||
|
build_nvimserver_bin() {
|
||
|
clean=true ./NvimServer/bin/build_libnvim.sh
|
||
|
swift build -c release --product NvimServer
|
||
|
}
|
||
|
|
||
|
main() {
|
||
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../.." >/dev/null
|
||
|
|
||
|
pushd NvimServer >/dev/null
|
||
|
echo "Make sure you have the correct ref checked out; develop or update-neovim."
|
||
|
build_nvimserver_bin
|
||
|
popd >/dev/null
|
||
|
|
||
|
pushd RxPack >/dev/null
|
||
|
NVIM_PATH="../NvimServer/.build/release/NvimServer" ./bin/generate_api_methods.py
|
||
|
popd >/dev/null
|
||
|
|
||
|
popd >/dev/null
|
||
|
}
|
||
|
|
||
|
main
|