mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Felix Ableitner
33ae6290b1
This includes chaning the path from github.com/calmh/syncthing to github.com/syncthing/syncthing, as well as disabling updates from the web gui (https://discourse.syncthing.net/t/v0-9-0-upgrade-from-within-gui/537).
27 lines
470 B
Bash
Executable file
27 lines
470 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd "$GOPATH/src/github.com/syncthing/syncthing/"
|
|
|
|
./build.sh test || exit 1
|
|
|
|
export GOOS=linux
|
|
export ENVIRONMENT=android
|
|
|
|
export GOARCH=386
|
|
|
|
./build.sh "" -tags noupgrade
|
|
cp syncthing syncthing-x86
|
|
|
|
export GOARCH=arm
|
|
|
|
export GOARM=7
|
|
./build.sh "" -tags noupgrade
|
|
cp syncthing syncthing-armeabi-v7a
|
|
|
|
export GOARM=5
|
|
./build.sh "" -tags noupgrade
|
|
cp syncthing syncthing-armeabi
|
|
|
|
#export GOARCH=mips
|
|
#./build.sh "" -tags noupgrade
|
|
#cp syncthing syncthing-mips
|