From 258ea9ba653ef2d488aacbf71237a53bba3842af Mon Sep 17 00:00:00 2001 From: Marcos Nils Date: Mon, 21 Apr 2014 15:43:08 -0300 Subject: [PATCH] Change varantfile so it uses embedded libraries instead of downloading dependencies again. It also fixes some errors with the vagrant box --- Vagrantfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index fff1edd89..6e03533a0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -64,13 +64,15 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Install drone echo "Building Drone" cd $GOPATH/src/github.com/drone/drone - make deps + make godep + export GOPATH=`godep path`:$GOPATH + export PATH=$PATH:$GOPATH/bin:`godep path`/bin make embed make build # Auto cd to drone install dir - echo "cd $GOPATH/src/github.com/drone/drone" >> /home/vagrant/.bashrc + echo "cd /opt/go/src/github.com/drone/drone" >> /home/vagrant/.bashrc # Cleanup