mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-25 22:01:16 +00:00
28 lines
408 B
Bash
Executable file
28 lines
408 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd "$GOPATH/src/github.com/calmh/syncthing/"
|
|
|
|
./build.sh test || exit 1
|
|
./build.sh assets
|
|
|
|
export GOOS=linux
|
|
export ENVIRONMENT=android
|
|
|
|
export GOARCH=386
|
|
|
|
./build.sh
|
|
cp syncthing syncthing-x86
|
|
|
|
export GOARCH=arm
|
|
|
|
export GOARM=7
|
|
./build.sh
|
|
cp syncthing syncthing-armeabi-v7a
|
|
|
|
export GOARM=5
|
|
./build.sh
|
|
cp syncthing syncthing-armeabi
|
|
|
|
#export GOARCH=mips
|
|
#./build.sh
|
|
#cp syncthing syncthing-mips
|