Makefile: add -d flag to go get in vendor-update target

This should skip unnecessary build step for the updated packages
This commit is contained in:
Aliaksandr Valialkin 2020-11-16 20:48:38 +02:00
parent 84b986b2fc
commit d57214244d

View file

@ -122,8 +122,8 @@ benchmark-pure:
GO111MODULE=on CGO_ENABLED=0 go test -mod=vendor -bench=. ./app/... GO111MODULE=on CGO_ENABLED=0 go test -mod=vendor -bench=. ./app/...
vendor-update: vendor-update:
GO111MODULE=on go get -u ./lib/... GO111MODULE=on go get -u -d ./lib/...
GO111MODULE=on go get -u ./app/... GO111MODULE=on go get -u -d ./app/...
GO111MODULE=on go mod tidy GO111MODULE=on go mod tidy
GO111MODULE=on go mod vendor GO111MODULE=on go mod vendor