blob: c345d4570fa795f87526cf31234a4fc0b5e8d339 [file] [log] [blame]
package.bash packages the Go toolchain for Windows in
zip and installer (msi) format.
- WiX Installer XML (WiX) toolset:
- 7Zip command-line:
- MinGW/Msys tools
Unzip and place 7za.exe in msys' bin directory.
Add the WiX bin directory to PATH.
- 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"