syncthing-android/docker/prebuild.sh

14 lines
277 B
Bash
Raw Normal View History

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