You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mdlayher its a bit unclear from your title what exactly the issue is. But if you are expecting to be able to have vgo pull down go packages and put them in your vendor directory, then you need to execute this command:
vgo vendor (now vgo mod -vendor or go mod -vendor) does not copy entire repositories. By design, it copies only the directories needed to satisfy imports in builds of the top-level module. If your module is not importing github.com/antlr/grammars-v4 then that directory will not be copied. And if there are directories with only non-Go files, there is no way to copy those directories into vendor. That's not what vendor is for. Vendor is only about preserving the code needed to build the main module.
Please answer these questions before submitting your issue. Thanks!
What did you do?
vgo get github.com/antlr/grammars-v4
vgo vendor
What did you expect to see?
a vendor directory containing the grammars
What did you see instead?
no vendor dir (no other dependencies yet)
Does this issue reproduce with the latest release (go1.10.3)?
Unknown
System details
The text was updated successfully, but these errors were encountered: