Created
May 20, 2014 04:43
-
-
Save michaelneale/4c414c2ba51b791a02d0 to your computer and use it in GitHub Desktop.
Go build
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
go_version=go1.2.2.linux-amd64 | |
if [ ! -e $go_version.tar.gz ] | |
then | |
wget https://storage.googleapis.com/golang/$go_version.tar.gz | |
tar xf $go_version.tar.gz | |
fi | |
export GOROOT=$WORKSPACE/go | |
export PATH=$PATH:$GOROOT/bin | |
go version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment