mirror of https://github.com/status-im/consul.git
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:
commit
2521f4c535
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue