Makefile: target to update deps

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2021-01-05 15:58:15 -05:00
parent 65d2b66a31
commit e8c3f01fa2
No known key found for this signature in database
GPG key ID: 524F155275DF0C3E

View file

@ -15,3 +15,9 @@ protos:
build: build:
$(D)CGO_ENABLED=0 go build -v -ldflags '-extldflags "-static"' . $(D)CGO_ENABLED=0 go build -v -ldflags '-extldflags "-static"' .
update:
go get -u ./... && \
go mod tidy && \
go mod vendor