From 4f35fb59c81abd978f1320c32b6fe4a326b74bb6 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 28 Aug 2015 09:40:46 +0100 Subject: [PATCH] Build for plan9/amd64 and solaris/amd64 too --- RELEASE.md | 2 +- cross-compile | 6 ++++-- docs/content/downloads.md.in | 6 ++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 8bb7d4dee..e145bb8e0 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -12,7 +12,7 @@ Making a release * edit docs/content/changelog.md * git commit -a -v * make retag - * # Set the GOPATH for a gox enabled compiler - . ~/bin/go-cross + * # Set the GOPATH for a gox enabled compiler - . ~/bin/go-cross - not required for go >= 1.5 * make cross * make upload * make upload_website diff --git a/cross-compile b/cross-compile index 29b00a060..21b26520b 100755 --- a/cross-compile +++ b/cross-compile @@ -3,7 +3,7 @@ set -e # This uses gox from https://github.com/mitchellh/gox -# Make sure you've run gox -build-toolchain +# Make sure you've run gox -build-toolchain - not required for go >= 1.5 if [ "$1" == "" ]; then echo "Syntax: $0 Version" @@ -13,7 +13,9 @@ VERSION="$1" rm -rf build -gox -output "build/{{.Dir}}-${VERSION}-{{.OS}}-{{.Arch}}/{{.Dir}}" +gox -output "build/{{.Dir}}-${VERSION}-{{.OS}}-{{.Arch}}/{{.Dir}}" -os "darwin linux freebsd openbsd windows freebsd netbsd plan9 solaris" +# Not implemented yet: nacl dragonfly android +# gox -osarch-list for definitive list mv build/rclone-${VERSION}-darwin-amd64 build/rclone-${VERSION}-osx-amd64 mv build/rclone-${VERSION}-darwin-386 build/rclone-${VERSION}-osx-386 diff --git a/docs/content/downloads.md.in b/docs/content/downloads.md.in index d99bd6cae..97eb682d0 100644 --- a/docs/content/downloads.md.in +++ b/docs/content/downloads.md.in @@ -31,6 +31,9 @@ Rclone Download VERSION * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-VERSION-openbsd-amd64.zip) * Plan 9 * [386 - 32 Bit](http://downloads.rclone.org/rclone-VERSION-plan9-386.zip) + * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-VERSION-plan9-amd64.zip) + * Solaris + * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-VERSION-solaris-amd64.zip) Downloads for scripting ======================= @@ -61,6 +64,9 @@ script) from a URL which doesn't change then you can use these links. * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-current-openbsd-amd64.zip) * Plan 9 * [386 - 32 Bit](http://downloads.rclone.org/rclone-current-plan9-386.zip) + * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-current-plan9-amd64.zip) + * Solaris + * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-current-solaris-amd64.zip) Older Downloads ==============