2017-05-04 23:41:09 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
echo "### Building libnvim"
|
|
|
|
|
|
|
|
pushd neovim
|
|
|
|
|
|
|
|
ln -f -s ../local.mk .
|
|
|
|
|
|
|
|
rm -rf build
|
|
|
|
make distclean
|
|
|
|
|
|
|
|
echo "### Building libnvim"
|
2017-05-07 16:08:15 +03:00
|
|
|
make CFLAGS='-mmacosx-version-min=10.10' MACOSX_DEPLOYMENT_TARGET=10.10 CMAKE_EXTRA_FLAGS="-DGETTEXT_SOURCE=CUSTOM" libnvim
|
2017-05-04 23:41:09 +03:00
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
echo "### Updating carthage"
|
2017-05-04 23:51:59 +03:00
|
|
|
carthage update --platform osx --cache-builds
|
2017-05-04 23:41:09 +03:00
|
|
|
|
|
|
|
echo "### Executing tests"
|
|
|
|
xcodebuild test -scheme SwiftNeoVim
|
|
|
|
xcodebuild test -scheme VimR
|