Skip to content

Instantly share code, notes, and snippets.

@michaelneale
Created May 20, 2014 04:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save michaelneale/4c414c2ba51b791a02d0 to your computer and use it in GitHub Desktop.
Save michaelneale/4c414c2ba51b791a02d0 to your computer and use it in GitHub Desktop.
Go build
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