Merge pull request #3167 from tylert/vagrant-with-vendoring

Add new vendoring stuff to vagrantfile
This commit is contained in:
Chris Bednarski 2016-02-09 09:58:14 -08:00
commit 2b3e43c086
1 changed files with 1 additions and 0 deletions

1
Vagrantfile vendored
View File

@ -20,6 +20,7 @@ sudo mkdir -p ${GOPATH}
cat <<EOF >/tmp/gopath.sh
export GOROOT="${GOROOT}"
export GOPATH="${GOPATH}"
export GO15VENDOREXPERIMENT="1" # Not needed for Go 1.6 and up
export PATH="${GOROOT}/bin:${GOPATH}/bin:\$PATH"
EOF
sudo mv /tmp/gopath.sh /etc/profile.d/gopath.sh