Merge pull request #632 from ceh/release-go1.4

Vagrantfile: use Go 1.4 release branch from new git repo
This commit is contained in:
Armon Dadgar 2015-01-23 13:15:27 -08:00
commit 6c00ea3261
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