2018-04-09 20:13:25 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
[ -z "$SYNCTHING_ANDROID_PREBUILT" ] && echo "Prebuild disabled" && exit 0
|
|
|
|
|
2019-09-05 15:25:15 +00:00
|
|
|
echo "Prepopulating gradle and go build/pkg cache"
|
2021-02-03 09:45:54 +00:00
|
|
|
git clone --recurse-submodules https://github.com/syncthing/syncthing-android
|
2018-04-09 20:13:25 +00:00
|
|
|
cd syncthing-android
|
2021-02-02 18:02:07 +00:00
|
|
|
./gradlew --no-daemon lint buildNative
|
2018-04-09 20:13:25 +00:00
|
|
|
cd ..
|
|
|
|
rm -rf syncthing-android
|