Replace gox with a go script to do cross compiling

gox wasn't building the mips binaries for some reason.
This commit is contained in:
Nick Craig-Wood
2017-02-17 21:54:32 +00:00
parent 1d7f95da8e
commit 69a15ae173
3 changed files with 155 additions and 70 deletions
+3 -4
View File
@@ -48,7 +48,6 @@ ifdef GO_LATEST
go get -u github.com/kisielk/errcheck
go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/golang/lint/golint
go get -u github.com/mitchellh/gox
go get -u github.com/inconshreveable/mousetrap
go get -u github.com/tools/godep
endif
@@ -99,16 +98,16 @@ upload_github:
./bin/upload-github $(TAG)
cross: doc
./bin/cross-compile $(TAG)
go run bin/cross-compile.go $(TAG)
beta:
./bin/cross-compile $(TAG)β
go run bin/cross-compile.go $(TAG)β
rm build/*-current-*
rclone -v copy build/ memstore:pub-rclone-org/$(TAG)β
@echo Beta release ready at http://pub.rclone.org/$(TAG)%CE%B2/
travis_beta:
./bin/cross-compile $(TAG)β
go run bin/cross-compile.go $(TAG)β
rm build/*-current-*
rclone --config bin/travis.rclone.conf -v copy build/ memstore:beta-rclone-org/$(TAG)
@echo Beta release ready at $(BETA_URL)