syncstuff/docker/prebuild.sh
Catfriend1 ebe144452b CI integration, docker, GitHub actions (#1369)
* Update Dockerfile
* Update GitHub Actions
2025-05-06 02:53:57 +02:00

14 lines
274 B
Bash
Executable File

#!/bin/bash
if [ -z "$SYNCTHING_ANDROID_PREBUILT" ]; then
echo "Prebuild disabled"
rm -rf syncthing-android
exit 0
fi
echo "Prepopulating gradle and go build/pkg cache"
cd syncthing-android
./gradlew --no-daemon lint buildNative
cd ..
rm -rf syncthing-android