spiegel-keyman/android/build.sh
Darcy Wong 2fc20b6ce6 Fix build scripts for Linux
n trying to build Keyman for Android on Linux, the following issues needed to be fixed:

Set `build.sh` and `gradlew` scripts to executable

KMEA/build.sh needs an OS check so build.bat is only called on Windows

web/source/build.sh needs $compiler and $copmiler_warnings values in quotes
2017-07-31 08:36:10 +07:00

26 lines
320 B
Bash
Executable file

#!/bin/sh
# Build Keyman Engine Android and KMAPro
die () {
echo
echo "$*"
echo
exit 1
}
echo Build KMEA and KMAPro:
cd KMEA
./build.sh $@
if [ $? -ne 0 ]; then
die "ERROR: KMEA/build.sh failed"
fi
cd ../KMAPro
./build.sh
if [ $? -ne 0 ]; then
die "ERROR: KMAPro/build.sh failed"
fi
cd ../