mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
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:
committed by
Alessandro Arzilli
parent
c7d1692e92
commit
cf7a2d7a25
@ -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")
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user