mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
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
26 lines
320 B
Bash
Executable file
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 ../
|