mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Merge pull request #281 from marcosnils/master
Fix vagrant dev environment
This commit is contained in:
commit
02a09b4c3f
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue