1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-10-27 18:34:58 +03:00
This commit is contained in:
Tae Won Ha 2016-10-14 12:46:15 +02:00
parent 25b2df508b
commit bfe78086ab
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
3 changed files with 27 additions and 27 deletions

View File

@ -6,13 +6,13 @@ export PATH=/usr/local/bin:$PATH
# # parameters
BRANCH=$1
MARKETING_VERSION=$2
IS_SNAPSHOT=$3
IS_SNAPSHOT=$2
MARKETING_VERSION=$3
#./bin/prepare_repositories.sh
./bin/prepare_repositories.sh
#./bin/clean_old_builds.sh
#./bin/set_new_versions.sh "${MARKETING_VERSION}" ${IS_IS_SNAPSHOT}
#./bin/build_vimr.sh
./bin/set_new_versions.sh ${IS_SNAPSHOT} "${MARKETING_VERSION}"
./bin/build_vimr.sh
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

@ -7,28 +7,28 @@ echo "### Building VimR"
# 1. Build normally to get the full runtime folder and copy it to the neovim's project root
# 2. Delete the build folder to re-configure
# 3. Build libnvim
pushd neovim
ln -f -s ../local.mk .
rm -rf build
make distclean
echo "### Building nvim to get the runtime folder"
make CMAKE_FLAGS="-DCUSTOM_UI=0"
make CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/tmp/nvim" install
cp -r /tmp/nvim/share/nvim/runtime .
make clean
rm -rf build
echo "### Building libnvim"
make libnvim
popd
#pushd neovim
#
#ln -f -s ../local.mk .
#
#rm -rf build
#make distclean
#
#echo "### Building nvim to get the runtime folder"
#make CMAKE_FLAGS="-DCUSTOM_UI=0"
#make CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/tmp/nvim" install
#cp -r /tmp/nvim/share/nvim/runtime .
#
#make clean
#rm -rf build
#
#echo "### Building libnvim"
#make libnvim
#
#popd
echo "### Updating carthage"
carthage update --platform osx
#carthage update --platform osx
echo "### Building vimr target"
xcodebuild CODE_SIGN_IDENTITY="Developer ID Application: Tae Won Ha (H96Q2NKTQH)" -configuration Release -target VimR

View File

@ -1,7 +1,7 @@
#!/bin/bash
MARKETING_VERSION=$1
IS_SNAPSHOT=$2
IS_SNAPSHOT=$1
MARKETING_VERSION=$2
echo "### Setting versions of VimR"