From d57214244ddeb3319db3c7b0c92be44b0254ea2f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 16 Nov 2020 20:48:38 +0200 Subject: [PATCH] Makefile: add `-d` flag to `go get` in `vendor-update` target This should skip unnecessary build step for the updated packages --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2908fde7e..3257e7777 100644 --- a/Makefile +++ b/Makefile @@ -122,8 +122,8 @@ benchmark-pure: GO111MODULE=on CGO_ENABLED=0 go test -mod=vendor -bench=. ./app/... vendor-update: - GO111MODULE=on go get -u ./lib/... - GO111MODULE=on go get -u ./app/... + GO111MODULE=on go get -u -d ./lib/... + GO111MODULE=on go get -u -d ./app/... GO111MODULE=on go mod tidy GO111MODULE=on go mod vendor