looper/build-android.sh

12 lines
271 B
Bash
Raw Normal View History

#!/bin/env -S NOT_SOURCED=1 /bin/sh
if ! [ "$NOT_SOURCED" = "1" ]; then
echo "Error: This script must not be sourced!" >&2
return 1
fi
2024-04-25 11:23:38 -07:00
pushd "$(dirname "$0")"
./setup-android-project.sh
2024-04-25 11:23:38 -07:00
cd sdl-android-project
ln -fs "$(dirname "$(pwd)")" ./app/jni
./gradlew build
popd