1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 23:02:35 +03:00

Extend script slightly

This commit is contained in:
Tae Won Ha 2020-12-24 10:56:46 +01:00
parent c2788b437c
commit ed84e6ac49
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -1,8 +1,21 @@
#!/bin/bash
set -Eeuo pipefail
readonly clean_initial_build=${clean_inital_build:-false}
clean_build() {
local -r -x download_gettext=true
local -r -x clean=true
local -r -x build_libnvim=true
./bin/build_nvimserver_for_local_dev.sh
}
main() {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
if [[ "${clean_initial_build}" == true ]]; then
clean_build
fi
find NvimServer/NvimServer/Sources NvimServer/NvimServerTypes | grep -E '(\.h$|\.c$)' | entr -c ./bin/build_nvimserver_for_local_dev.sh
popd >/dev/null
}