1
1
mirror of https://github.com/qvacua/vimr.git synced 2025-01-05 20:53:06 +03:00

modify build scripts

This commit is contained in:
George Harker 2023-10-30 14:51:24 -07:00
parent b5adab050d
commit 62817d6e9c

View File

@ -13,7 +13,7 @@ prepare_nvimserver() {
# Build NvimServer and copy
build_libnvim=true ./NvimServer/NvimServer/bin/build_nvimserver.sh
cp ./Neovim/.build/apple/Products/Release/NvimServer "${resources_folder}"
cp ./NvimServer/.build/arm64-apple-macosx/release/NvimServer "${resources_folder}"
# Create and copy runtime folder
install_path="$(/usr/bin/mktemp -d -t 'nvim-runtime')"
@ -38,10 +38,17 @@ build_vimr() {
echo "### Xcodebuilding"
rm -rf "${build_path}"
xcodebuild \
-configuration Release -derivedDataPath "${build_path}" \
-workspace VimR.xcworkspace -scheme VimR \
clean build
if [[ "${clean}" == true ]]; then
xcodebuild \
-configuration Release -derivedDataPath "${build_path}" \
-workspace VimR.xcworkspace -scheme VimR \
clean build
else
xcodebuild \
-configuration Release -derivedDataPath "${build_path}" \
-workspace VimR.xcworkspace -scheme VimR \
build
fi
}
main () {