2014-05-18 13:18:42 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-08-03 14:33:23 +00:00
|
|
|
cd "$GOPATH/src/github.com/syncthing/syncthing/"
|
2014-05-18 13:18:42 +00:00
|
|
|
|
|
|
|
./build.sh test || exit 1
|
|
|
|
|
|
|
|
export GOOS=linux
|
2014-06-13 18:53:15 +00:00
|
|
|
export ENVIRONMENT=android
|
2014-05-18 13:18:42 +00:00
|
|
|
|
|
|
|
export GOARCH=386
|
|
|
|
|
2014-08-03 14:33:23 +00:00
|
|
|
./build.sh "" -tags noupgrade
|
2014-05-18 13:18:42 +00:00
|
|
|
cp syncthing syncthing-x86
|
|
|
|
|
|
|
|
export GOARCH=arm
|
|
|
|
|
|
|
|
export GOARM=7
|
2014-08-03 14:33:23 +00:00
|
|
|
./build.sh "" -tags noupgrade
|
2014-05-18 13:18:42 +00:00
|
|
|
cp syncthing syncthing-armeabi-v7a
|
|
|
|
|
|
|
|
export GOARM=5
|
2014-08-03 14:33:23 +00:00
|
|
|
./build.sh "" -tags noupgrade
|
2014-05-18 13:18:42 +00:00
|
|
|
cp syncthing syncthing-armeabi
|
2014-05-18 13:24:14 +00:00
|
|
|
|
|
|
|
#export GOARCH=mips
|
2014-08-03 14:33:23 +00:00
|
|
|
#./build.sh "" -tags noupgrade
|
2014-05-18 13:24:14 +00:00
|
|
|
#cp syncthing syncthing-mips
|