Skip to content

Commit

Permalink
add modvendor command
Browse files Browse the repository at this point in the history
  • Loading branch information
hasa1K committed Aug 30, 2024
1 parent 214bea3 commit 444740e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,8 @@ help:
$(warning Supported Variables And Values:)
$(warning ---------------------------------------------------------------------------------)
$(foreach v, $(.VARIABLES), $(if $(filter file,$(origin $(v))), $(info $(v)=$($(v)))))
# 需要下载modvendor,下载命令:go get -u github.com/goware/modvendor
.PHONY: vendor
vendor:
go mod vendor
modvendor -copy="**/*.c **/*.h" -v

0 comments on commit 444740e

Please sign in to comment.