mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-29 07:41:17 +00:00
Prepare for syncthing v0.9.0.
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).
This commit is contained in:
parent
142636c84a
commit
33ae6290b1
2 changed files with 6 additions and 8 deletions
|
@ -1,28 +1,27 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd "$GOPATH/src/github.com/calmh/syncthing/"
|
||||
cd "$GOPATH/src/github.com/syncthing/syncthing/"
|
||||
|
||||
./build.sh test || exit 1
|
||||
./build.sh assets
|
||||
|
||||
export GOOS=linux
|
||||
export ENVIRONMENT=android
|
||||
|
||||
export GOARCH=386
|
||||
|
||||
./build.sh
|
||||
./build.sh "" -tags noupgrade
|
||||
cp syncthing syncthing-x86
|
||||
|
||||
export GOARCH=arm
|
||||
|
||||
export GOARM=7
|
||||
./build.sh
|
||||
./build.sh "" -tags noupgrade
|
||||
cp syncthing syncthing-armeabi-v7a
|
||||
|
||||
export GOARM=5
|
||||
./build.sh
|
||||
./build.sh "" -tags noupgrade
|
||||
cp syncthing syncthing-armeabi
|
||||
|
||||
#export GOARCH=mips
|
||||
#./build.sh
|
||||
#./build.sh "" -tags noupgrade
|
||||
#cp syncthing syncthing-mips
|
||||
|
|
|
@ -101,8 +101,7 @@ task buildNative(type: Exec) {
|
|||
}
|
||||
|
||||
task copyNative(type: Copy) {
|
||||
outputs.upToDateWhen { false }
|
||||
def st_dir = System.getenv("GOPATH") + "/src/github.com/calmh/syncthing/";
|
||||
def st_dir = System.getenv("GOPATH") + "/src/github.com/syncthing/syncthing/";
|
||||
from st_dir + 'syncthing-x86', st_dir + 'syncthing-armeabi', st_dir + 'syncthing-armeabi-v7a';
|
||||
into 'libs/'
|
||||
rename('syncthing-x86', 'x86/libsyncthing.so')
|
||||
|
|
Loading…
Reference in a new issue