Vagrantfile: use Go 1.4 release branch from new git repo

This commit is contained in:
Emil Hessman 2015-01-23 21:00:12 +01:00
parent cd267771aa
commit cf9a877046
1 changed files with 2 additions and 5 deletions

7
Vagrantfile vendored
View File

@ -9,8 +9,8 @@ SRCROOT="/opt/go"
# Install Go
sudo apt-get update
sudo apt-get install -y build-essential mercurial
sudo hg clone -u release https://code.google.com/p/go ${SRCROOT}
sudo apt-get install -y build-essential mercurial git-core
sudo git clone -b release-branch.go1.4 https://go.googlesource.com/go ${SRCROOT}
cd ${SRCROOT}/src
sudo ./all.bash
@ -27,9 +27,6 @@ sudo chmod 0755 /etc/profile.d/gopath.sh
sudo chown -R vagrant:vagrant $SRCROOT
sudo chown -R vagrant:vagrant /opt/gopath
# Install git
sudo apt-get install -y git-core
# Install go tools
go get golang.org/x/tools/cmd/cover
SCRIPT