cmake init after pull

This commit is contained in:
Enno Rehling 2018-09-30 14:54:13 +02:00
parent a012f051f1
commit f53b1f50ae
1 changed files with 2 additions and 1 deletions

View File

@ -22,11 +22,12 @@ exit $2 # otherwise
function build() {
assert_dir $SOURCE
cd $SOURCE
rm -rf crypto tolua
rm -rf tolua
git fetch || abort "failed to update source. do you have local changes?"
[ -z $1 ] || git checkout $1
git pull -q
git submodule update
s/cmake-init
s/build > /dev/null || abort "build failed."
}