scripts: Prefer 'go mod vendor'

Remove dependancy on glide and instead switch completely over to using
`go mod vendor` as our vendor solution.
This commit is contained in:
Derek Parker
2019-07-08 15:36:13 -07:00
committed by Alessandro Arzilli
parent c7d1692e92
commit cf7a2d7a25
3 changed files with 1 additions and 85 deletions

View File

@ -97,8 +97,7 @@ This option can only be specified if testset is basic or a single package.`)
Use: "vendor",
Short: "vendors dependencies",
Run: func(cmd *cobra.Command, args []string) {
execute("glide", "up", "-v")
execute("glide-vc", "--use-lock-file", "--no-tests", "--only-code")
execute("go", "mod", "vendor")
},
})