1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 11:21:29 +00:00
syncthing-android/docker/prebuild.sh

11 lines
312 B
Bash
Raw Normal View History

#!/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"
git clone --recurse-submodules https://github.com/syncthing/syncthing-android
cd syncthing-android
2021-02-02 18:02:07 +00:00
./gradlew --no-daemon lint buildNative
cd ..
rm -rf syncthing-android