mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 07:13:24 +03:00
carthage update first
This commit is contained in:
parent
0099262598
commit
4d2bb6483c
@ -10,6 +10,14 @@ readonly code_sign=${code_sign:?"true or false"}
|
|||||||
readonly use_carthage_cache=${use_carthage_cache:?"true or false"}
|
readonly use_carthage_cache=${use_carthage_cache:?"true or false"}
|
||||||
readonly build_path="./build"
|
readonly build_path="./build"
|
||||||
|
|
||||||
|
# Carthage often crashes => do it at the beginning.
|
||||||
|
echo "### Updating carthage"
|
||||||
|
if [[ ${use_carthage_cache} == true ]]; then
|
||||||
|
carthage update --cache-builds --platform macos
|
||||||
|
else
|
||||||
|
carthage update --platform macos
|
||||||
|
fi
|
||||||
|
|
||||||
# Build NeoVim
|
# Build NeoVim
|
||||||
# 0. Delete previously built things
|
# 0. Delete previously built things
|
||||||
# 1. Build normally to get the full runtime folder and copy it to the neovim's project root
|
# 1. Build normally to get the full runtime folder and copy it to the neovim's project root
|
||||||
@ -39,13 +47,6 @@ pushd NvimView/neovim
|
|||||||
cp -r /tmp/nvim-runtime/share/nvim/runtime .
|
cp -r /tmp/nvim-runtime/share/nvim/runtime .
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
echo "### Updating carthage"
|
|
||||||
if [[ ${use_carthage_cache} == true ]]; then
|
|
||||||
carthage update --cache-builds --platform macos
|
|
||||||
else
|
|
||||||
carthage update --platform macos
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "### Xcodebuilding"
|
echo "### Xcodebuilding"
|
||||||
|
|
||||||
rm -rf ${build_path}
|
rm -rf ${build_path}
|
||||||
|
Loading…
Reference in New Issue
Block a user