mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
19 lines
433 B
Bash
Executable file
19 lines
433 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd "$GOPATH/src/github.com/syncthing/syncthing/"
|
|
|
|
rm bin/
|
|
|
|
./build.sh test || exit 1
|
|
|
|
export GOOS=linux
|
|
export ENVIRONMENT=android
|
|
|
|
GOARCH=386 ./build.sh "" -tags noupgrade
|
|
mv bin/linux_386/syncthing bin/syncthing-x86
|
|
|
|
GOARCH=arm GOARM=5 ./build.sh "" -tags noupgrade
|
|
mv bin/linux_arm/syncthing bin/syncthing-armeabi
|
|
|
|
GOARCH=arm GOARM=7 ./build.sh "" -tags noupgrade
|
|
mv bin/linux_arm/syncthing bin/syncthing-armeabi-v7a
|