Makefile: target to update deps
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
65d2b66a31
commit
e8c3f01fa2
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue