#!/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