mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-30 17:23:54 +03:00
28 lines
623 B
Bash
Executable File
28 lines
623 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "### Building libnvim"
|
|
|
|
pushd NvimView/neovim
|
|
|
|
ln -f -s ../../local.mk .
|
|
|
|
rm -rf build
|
|
make distclean
|
|
|
|
../../bin/build_libnvim.sh
|
|
|
|
popd
|
|
|
|
echo "### Updating carthage"
|
|
carthage update --platform osx --cache-builds
|
|
|
|
# to avoid Xcode time out, cf https://stackoverflow.com/questions/37922146/xctests-failing-on-physical-device-canceling-tests-due-to-timeout/40790171#40790171
|
|
echo "### Building"
|
|
xcodebuild build -scheme NvimView -workspace VimR.xcworkspace
|
|
xcodebuild build -scheme VimR -workspace VimR.xcworkspace
|
|
|
|
echo "### Executing tests"
|
|
xcodebuild test -scheme VimR -workspace VimR.xcworkspace
|