chore: add make upgrade for direct dependencies
This commit is contained in:
parent
6217609df2
commit
e97ebfc5cd
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -140,3 +140,6 @@ patch-asn1::
|
|||
cat $(GOROOT)/src/vendor/golang.org/x/crypto/cryptobyte/asn1.go | grep -C 1 "out = true"
|
||||
patch -N -t -d $(GOROOT)/src/vendor/golang.org/x/crypto/cryptobyte -i $(CURRDIR)/packaging/patch/asn1.diff
|
||||
cat $(GOROOT)/src/vendor/golang.org/x/crypto/cryptobyte/asn1.go | grep -C 1 "out = true"
|
||||
|
||||
upgrade::
|
||||
$(shell go list -u -f '{{if (and (not (or .Main .Indirect)) .Update)}}{{.Path}}{{end}}' -m all | xargs go get)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue