mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-25 22:01:16 +00:00
d753c2659f
Instead of checking out the default branch. Otherwise it's impossible to test local changes.
13 lines
277 B
Bash
Executable file
13 lines
277 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
if [ -z "$SYNCTHING_ANDROID_PREBUILT" ]; then
|
|
echo "Prebuild disabled"
|
|
rm -rf syncthing-android
|
|
exit 0
|
|
fi
|
|
|
|
echo "Prepopulating gradle and go build/pkg cache"
|
|
cd syncthing-android
|
|
./gradlew --no-daemon lint buildNative
|
|
cd ..
|
|
rm -rf syncthing-android
|