1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 11:37:32 +03:00

Improve build script

This commit is contained in:
Tae Won Ha 2016-10-17 22:35:29 +02:00
parent dcceeae40c
commit c6934faa6a
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
3 changed files with 12 additions and 5 deletions

View File

@ -17,7 +17,7 @@ echo "### Building VimR"
./bin/prepare_repositories.sh
./bin/clean_old_builds.sh
./bin/set_new_versions.sh ${IS_SNAPSHOT} "${MARKETING_VERSION}"
./bin/build_vimr.sh
./bin/build_vimr.sh true
BUNDLE_VERSION=$(agvtool what-version | sed '2q;d' | sed -E 's/ +(.+)/\1/')
MARKETING_VERSION=$(agvtool what-marketing-version | tail -n 1 | sed -E 's/.*of "(.*)" in.*/\1/')

View File

@ -1,5 +1,7 @@
#!/bin/bash
CODE_SIGN=$1
echo "### Building VimR target"
# Build NeoVim
@ -27,7 +29,15 @@ make libnvim
popd
echo "### Updating carthage"
carthage update --platform osx
echo "### Xcodebuilding"
xcodebuild CODE_SIGN_IDENTITY="Developer ID Application: Tae Won Ha (H96Q2NKTQH)" -configuration Release -target VimR
if [ "${CODE_SIGN}" = true ] ; then
xcodebuild CODE_SIGN_IDENTITY="Developer ID Application: Tae Won Ha (H96Q2NKTQH)" -configuration Release -target VimR
else
xcodebuild -configuration Release -target VimR
fi
echo "### Built VimR target"

View File

@ -10,7 +10,4 @@ rm -rf build
make distclean
popd
echo "### Updating carthage"
carthage update --platform osx
echo "### Cleaned old builds"