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:
parent
dcceeae40c
commit
c6934faa6a
@ -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/')
|
||||
|
@ -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"
|
||||
|
@ -10,7 +10,4 @@ rm -rf build
|
||||
make distclean
|
||||
popd
|
||||
|
||||
echo "### Updating carthage"
|
||||
carthage update --platform osx
|
||||
|
||||
echo "### Cleaned old builds"
|
||||
|
Loading…
Reference in New Issue
Block a user