show dependencies in verbose mode. ensure go gettable binaries are in path

This commit is contained in:
Brad Rydzewski 2014-06-12 12:55:57 -07:00
parent 43e382b5a1
commit 3966eb7f9a
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@ git:
path: github.com/drone/drone
env:
- GOROOT=/usr/local/go
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
script:
- sudo apt-get -y install libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
- make deps

View file

@ -3,7 +3,7 @@ SHA := $(shell git rev-parse --short HEAD)
all: rice amberc lessc build
deps:
go list github.com/drone/drone/... | xargs go get -t
go list github.com/drone/drone/... | xargs go get -t -v
build:
go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/client