mirror of
https://github.com/golang/go
synced 2024-11-26 16:57:14 -07:00
4f5ffe5684
files moved from misc/windows, bash packager file replaced with Windows batch file R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/5677074
21 lines
622 B
Plaintext
21 lines
622 B
Plaintext
package.bash packages the Go toolchain for Windows in
|
|
zip and installer (msi) format.
|
|
|
|
Dependencies
|
|
============
|
|
- WiX Installer XML (WiX) toolset: http://wix.sourceforge.net/
|
|
- 7Zip command-line: http://www.7-zip.org/download.html
|
|
- MinGW/Msys tools
|
|
|
|
Unzip and place 7za.exe in msys' bin directory.
|
|
Add the WiX bin directory to PATH.
|
|
|
|
Packaging
|
|
=========
|
|
- 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"
|