cmd/go: prune non-source files in 'go mod vendor' #33261
Labels
GoCommand
cmd/go
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
I would say that the issue is kind of enhancement or feature request rather than a bug. golang/dep has an option to prune non-go files under
vendor
with a config like:What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
main.go
Ensure that non-go files as
.gitignore
,.travis.yml
and others are added undervendor/
and currently there is no way to clean them.On the other hand golang/dep with
non-go = true
option:What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: