Review fixes

This commit is contained in:
Yuriy Kashnikov 2017-12-06 21:14:54 +07:00
parent 2d6fe522a6
commit 4634ce825b

View File

@ -1,9 +1,5 @@
#!/usr/bin/env bash
if [[ "$(git tag --points-at HEAD 2>/dev/null)"=="v*" ]]; then
touch prerelease.txt
fi
if [ -z "$1" ]; then
BUILD_TYPE=Release
else
@ -11,6 +7,11 @@ else
fi
cd $(dirname "$0")/.. &&
if [[ "$(git tag --points-at HEAD 2>/dev/null)" == v* ]]; then
touch prerelease.txt
fi
mkdir -p build &&
cd build &&
cmake .. -DCMAKE_BUILD_TYPE="$BUILD_TYPE" &&