iOS build: add option to build.sh to only update version

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-11-29 21:53:11 -08:00
parent 31c005fa06
commit 87e05f4db8

View file

@ -32,6 +32,10 @@ echo "#define MOBILE_VERSION_STRING \"$MOBILEVERSION\"" >> subsurface-mobile/ssr
# create Info.plist with the correct versions
cat Info.plist.in | sed "s/@MOBILE_VERSION@/$MOBILEVERSION/;s/@CANONICAL_VERSION@/$CANONICALVERSION/" > Info.plist
if [ "$1" = "version" ] ; then
exit 0
fi
# Build Subsurface-mobile by default
SUBSURFACE_MOBILE=1