2024-04-28 12:31:40 -07:00
|
|
|
#!/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")"
|
2024-04-28 12:31:40 -07:00
|
|
|
./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
|