1
0
mirror of https://github.com/golang/go synced 2024-11-20 09:34:52 -07:00
go/misc/windows
Joe Poirier 1095305232 misc/windows: automated toolchain packager
A first run at fully automating the process.
This CL supersedes https://golang.org/cl/4634114/
which I seemed to have lost.

R=golang-dev, alex.brainman, adg
CC=golang-dev
https://golang.org/cl/5273041
2011-10-18 15:51:45 +11:00
..
installer.iss misc/windows: automated toolchain packager 2011-10-18 15:51:45 +11:00
package.bash misc/windows: automated toolchain packager 2011-10-18 15:51:45 +11:00
README misc/windows: automated toolchain packager 2011-10-18 15:51:45 +11:00

package.bash packages the Go toolchain for Window's in 
zip and installer (exe) format. 

Dependencies
============
- Inno Setup: http://www.jrsoftware.org/isinfo.php
- 7Zip command-line: http://www.7-zip.org/download.html
- MinGW/Msys tools

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"