From f53b1f50ae7a64a0f612d690f41f6656c3889f9e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 30 Sep 2018 14:54:13 +0200 Subject: [PATCH] cmake init after pull --- s/preview | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/s/preview b/s/preview index 39d5466d0..c4c9a5d42 100755 --- a/s/preview +++ b/s/preview @@ -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." }