mirror of
https://github.com/qvacua/vimr.git
synced 2025-01-07 06:33:19 +03:00
modify build scripts
This commit is contained in:
parent
b5adab050d
commit
62817d6e9c
@ -13,7 +13,7 @@ prepare_nvimserver() {
|
|||||||
|
|
||||||
# Build NvimServer and copy
|
# Build NvimServer and copy
|
||||||
build_libnvim=true ./NvimServer/NvimServer/bin/build_nvimserver.sh
|
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
|
# Create and copy runtime folder
|
||||||
install_path="$(/usr/bin/mktemp -d -t 'nvim-runtime')"
|
install_path="$(/usr/bin/mktemp -d -t 'nvim-runtime')"
|
||||||
@ -38,10 +38,17 @@ build_vimr() {
|
|||||||
|
|
||||||
echo "### Xcodebuilding"
|
echo "### Xcodebuilding"
|
||||||
rm -rf "${build_path}"
|
rm -rf "${build_path}"
|
||||||
xcodebuild \
|
if [[ "${clean}" == true ]]; then
|
||||||
-configuration Release -derivedDataPath "${build_path}" \
|
xcodebuild \
|
||||||
-workspace VimR.xcworkspace -scheme VimR \
|
-configuration Release -derivedDataPath "${build_path}" \
|
||||||
clean build
|
-workspace VimR.xcworkspace -scheme VimR \
|
||||||
|
clean build
|
||||||
|
else
|
||||||
|
xcodebuild \
|
||||||
|
-configuration Release -derivedDataPath "${build_path}" \
|
||||||
|
-workspace VimR.xcworkspace -scheme VimR \
|
||||||
|
build
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main () {
|
main () {
|
||||||
|
Loading…
Reference in New Issue
Block a user