Vagrantfile: use Go 1.4 release branch from new git repo
This commit is contained in:
parent
cd267771aa
commit
cf9a877046
|
@ -9,8 +9,8 @@ SRCROOT="/opt/go"
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y build-essential mercurial
|
sudo apt-get install -y build-essential mercurial git-core
|
||||||
sudo hg clone -u release https://code.google.com/p/go ${SRCROOT}
|
sudo git clone -b release-branch.go1.4 https://go.googlesource.com/go ${SRCROOT}
|
||||||
cd ${SRCROOT}/src
|
cd ${SRCROOT}/src
|
||||||
sudo ./all.bash
|
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 $SRCROOT
|
||||||
sudo chown -R vagrant:vagrant /opt/gopath
|
sudo chown -R vagrant:vagrant /opt/gopath
|
||||||
|
|
||||||
# Install git
|
|
||||||
sudo apt-get install -y git-core
|
|
||||||
|
|
||||||
# Install go tools
|
# Install go tools
|
||||||
go get golang.org/x/tools/cmd/cover
|
go get golang.org/x/tools/cmd/cover
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
|
Loading…
Reference in New Issue