11 lines
312 B
Bash
Executable File
11 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
|