1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 16:56:40 +03:00
vimr/bin/prepare_repositories.sh
Tae Won Ha 866540dac4
Include pre-built libintl in the repository
- to eliminate warnings
- libintl.a and libintl.dylib are pre-built for 10.10
- When building neovim we have to pass the libintl location
2017-05-07 13:17:09 +02:00

22 lines
380 B
Bash
Executable File

#!/bin/bash
set -e
echo "### Preparing repositories"
# delete all (local) tags
git tag | xargs git tag -d
pushd neovim
git tag | xargs git tag -d
popd
# delete all (local) branches
git for-each-ref --format="%(refname:strip=2)" refs/heads/ | xargs git branch -D
git checkout -b for_build
# update neovim
git submodule update --init --force
echo "### Prepared repositories"