Skip to content

goware/modvendor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modvendor

Simple tool to copy additional module files into a local ./vendor folder. This tool should be run after go mod vendor.

go get -u github.com/goware/modvendor

Usage

$ GO111MODULE=on go mod vendor
$ modvendor -copy="**/*.c **/*.h **/*.proto" -v

If you have additional directories that you wish to copy which are not specified under ./vendor/modules.txt, use the -include flag with multiple values separated by commas, e.g.:

$ GO111MODULE=on go mod vendor
$ modvendor -copy="**/*.c **/*.h **/*.proto" -v -include="github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api,github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/rpc,github.com/prometheus/client_model"

LICENSE

MIT

About

Auxiliary vendoring tool for Go's new go.mod

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages