1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 11:11:34 +03:00
vimr/RxPack/bin/generate_sources.sh
Tae Won Ha 0c3a15a327
Fix scripts for generating sources
- Include also deprecated API methods, but mark it as deprecated using
  `@available()`.
2023-11-09 17:55:59 +01:00

24 lines
475 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
build_nvimserver_bin() {
clean=true ./NvimServer/bin/build_neovim.sh
}
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="../Neovim/build/bin/nvim" ./bin/generate_api_methods.py
popd >/dev/null
popd >/dev/null
}
main