Created
November 26, 2012 19:34
-
-
Save surma/4150137 to your computer and use it in GitHub Desktop.
Go Crosschain builder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $GOROOT/src | |
./clean.bash | |
for GOOS in darwin linux openbsd freebsd netbsd plan9; do | |
for GOARCH in 386 amd64; do | |
GOOS=$GOOS GOARCH=$GOARCH CGO_ENABLED=0 ./make.bash --no-clean | |
done | |
done | |
unset GOOS | |
unset GOARCH | |
CGO_ENABLED=1 ./make.bash --no-clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment