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

24 lines
454 B
Bash
Raw Normal View History

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
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