]> Cypherpunks repositories - gostls13.git/commitdiff
misc/windows: allow to be used for amd64
authorAlex Brainman <alex.brainman@gmail.com>
Thu, 27 Oct 2011 21:45:17 +0000 (08:45 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 27 Oct 2011 21:45:17 +0000 (08:45 +1100)
R=jdpoirier
CC=golang-dev
https://golang.org/cl/5305048

misc/windows/README
misc/windows/package.bash

index a7e0d3fc4bd04183d604fffe01e0f20893efad9c..45cd0df8b94a33441bb38a62b1e1cb44aa32e988 100644 (file)
@@ -11,12 +11,9 @@ Unzip and place 7za.exe in msys' bin directory.
 
 Packaging
 =========
-1) have a go tree at $GOROOT
-2) make sure $GOBIN=$GOROOT\bin is empty
-3) select appropriate version "hg up -r ..."
-4) build go "cd $GOROOT/src; ./all.bash"
-5) create Windows packages "cd $GOROOT/misc/windows; ./package.bash"
-
-
-
-
+- have a go tree at $GOROOT
+- make sure $GOBIN=$GOROOT\bin or is empty
+- make sure $GOARCH=386 or $GOARCH=amd64
+- select appropriate version "hg up -r ..."
+- build go "cd $GOROOT/src; ./all.bash"
+- create Windows packages "cd $GOROOT/misc/windows; ./package.bash"
index 92e909317185c3b35b63f848fbd99161516acfc2..99670e85426bd9fd4f1e0970f8f8f34df21ce8d2 100755 (executable)
@@ -36,9 +36,9 @@ cp -a ../../pkg go/pkg
 cp -a ../../bin go/bin
 
 echo "%%%%% Starting zip packaging %%%%%" 1>&2
-7za a -tzip -mx=9 gowin386"_"$ver.zip "go/" >/dev/null
+7za a -tzip -mx=9 gowin$GOARCH"_"$ver.zip "go/" >/dev/null
 
 echo "%%%%% Starting installer packaging %%%%%" 1>&2
-"$ISCC" //dAppName=Go //dAppVersion=386"_"$ver //dAppNameLower=go installer.iss  >/dev/null
+"$ISCC" //dAppName=Go //dAppVersion=$GOARCH"_"$ver //dAppNameLower=go installer.iss  >/dev/null