Change varantfile so it uses embedded libraries instead of downloading dependencies again. It also fixes some errors with the vagrant box
This commit is contained in:
parent
e3514af199
commit
258ea9ba65
1 changed files with 4 additions and 2 deletions
6
Vagrantfile
vendored
6
Vagrantfile
vendored
|
@ -64,13 +64,15 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
# Install drone
|
# Install drone
|
||||||
echo "Building Drone"
|
echo "Building Drone"
|
||||||
cd $GOPATH/src/github.com/drone/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 embed
|
||||||
make build
|
make build
|
||||||
|
|
||||||
|
|
||||||
# Auto cd to drone install dir
|
# 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
|
# Cleanup
|
||||||
|
|
Loading…
Reference in a new issue