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