1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-19 03:31:32 +03:00
vimr/RxPack/bin/generate_sources.sh

25 lines
537 B
Bash
Raw Normal View History

2022-12-03 19:43:43 +03:00
#!/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