From e8c3f01fa2347bf0c7f61fd0b8f2aa7c49318b59 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 5 Jan 2021 15:58:15 -0500 Subject: [PATCH] Makefile: target to update deps Signed-off-by: Vincent Batts --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 5b994da..7f4eb1d 100644 --- a/Makefile +++ b/Makefile @@ -15,3 +15,9 @@ protos: build: $(D)CGO_ENABLED=0 go build -v -ldflags '-extldflags "-static"' . + +update: + go get -u ./... && \ + go mod tidy && \ + go mod vendor +