Version= doesnt work on go1.4.2

fixing makefile & vagrantfile & build script to reflect that
This commit is contained in:
Cameron Sparr
2015-08-20 16:09:09 -06:00
parent a29b39e17a
commit 9d00b5e165
4 changed files with 16 additions and 9 deletions

5
Vagrantfile vendored
View File

@@ -22,7 +22,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
gvm install go1.4.2 --prefer-binary
gvm use go1.4.2 --default
echo "export PATH=$PATH:$GOPATH/bin" >> "$HOME/.bashrc"
cd "$HOME/go/src/github.com/influxdb/telegraf" && make
echo 'export GOPATH=/home/vagrant/go' >> "$HOME/.bashrc"
cd "$HOME/go/src/github.com/influxdb/telegraf" &&\
rm -rf Godeps/_workspace/pkg &&\
GOPATH="$HOME/go" make
SHELL
config.vm.provider "virtualbox" do |vb|