2022-12-03 19:43:43 +03:00
|
|
|
#!/bin/bash
|
|
|
|
set -Eeuo pipefail
|
|
|
|
|
2023-12-16 21:38:15 +03:00
|
|
|
readonly clean=${clean:?"true or false"}
|
|
|
|
|
2022-12-03 19:43:43 +03:00
|
|
|
build_nvimserver_bin() {
|
2023-12-16 21:38:15 +03:00
|
|
|
./bin/neovim/bin/build_neovim.sh
|
2022-12-03 19:43:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
main() {
|
|
|
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../.." >/dev/null
|
|
|
|
|
2023-12-16 21:33:26 +03:00
|
|
|
echo "Make sure you have the correct ref checked out; develop or update-neovim."
|
|
|
|
build_nvimserver_bin
|
2022-12-03 19:43:43 +03:00
|
|
|
|
|
|
|
pushd RxPack >/dev/null
|
2023-11-09 19:55:59 +03:00
|
|
|
NVIM_PATH="../Neovim/build/bin/nvim" ./bin/generate_api_methods.py
|
2022-12-03 19:43:43 +03:00
|
|
|
popd >/dev/null
|
|
|
|
|
|
|
|
popd >/dev/null
|
|
|
|
}
|
|
|
|
|
|
|
|
main
|