show dependencies in verbose mode. ensure go gettable binaries are in path
This commit is contained in:
parent
43e382b5a1
commit
3966eb7f9a
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ git:
|
||||||
path: github.com/drone/drone
|
path: github.com/drone/drone
|
||||||
env:
|
env:
|
||||||
- GOROOT=/usr/local/go
|
- GOROOT=/usr/local/go
|
||||||
|
- PATH=$PATH:$GOROOT/bin:$GOPATH/bin
|
||||||
script:
|
script:
|
||||||
- sudo apt-get -y install libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
|
- sudo apt-get -y install libsqlite3-dev sqlite3 1> /dev/null 2> /dev/null
|
||||||
- make deps
|
- make deps
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ SHA := $(shell git rev-parse --short HEAD)
|
||||||
all: rice amberc lessc build
|
all: rice amberc lessc build
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
go list github.com/drone/drone/... | xargs go get -t
|
go list github.com/drone/drone/... | xargs go get -t -v
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/client
|
go build -o debian/drone/usr/local/bin/drone -ldflags "-X main.revision $(SHA)" github.com/drone/drone/client
|
||||||
|
|
Loading…
Reference in a new issue