1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 12:21:15 +00:00
syncthing-android/docker/prebuild.sh
Simon Frei 7674fadeba
Undo unintended prebuild script change
When bumping the SDK I mistakenly switched from buildNative to build, no
idea why/how.

Fixes
f0762bab12
2023-06-18 16:25:51 +02:00

10 lines
312 B
Bash
Executable file

#!/bin/bash -e
[ -z "$SYNCTHING_ANDROID_PREBUILT" ] && echo "Prebuild disabled" && exit 0
echo "Prepopulating gradle and go build/pkg cache"
git clone --recurse-submodules https://github.com/syncthing/syncthing-android
cd syncthing-android
./gradlew --no-daemon lint buildNative
cd ..
rm -rf syncthing-android