1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 19:21:39 +03:00
vimr/RxPack/bin/generate_sources.sh
2023-12-16 19:38:15 +01:00

24 lines
454 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
readonly clean=${clean:?"true or false"}
build_nvimserver_bin() {
./bin/neovim/bin/build_neovim.sh
}
main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/../.." >/dev/null
echo "Make sure you have the correct ref checked out; develop or update-neovim."
build_nvimserver_bin
pushd RxPack >/dev/null
NVIM_PATH="../Neovim/build/bin/nvim" ./bin/generate_api_methods.py
popd >/dev/null
popd >/dev/null
}
main