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