mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-19 15:06:34 +00:00
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
|
||||
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
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue