tools / godep

dependency tool for go
http://godoc.org/github.com/tools/godep
BSD 3-Clause "New" or "Revised" License
5.55k stars 455 forks source link

godep save doesn't make _Workspace and vendor folder. #527

Closed ttomato closed 6 years ago

ttomato commented 7 years ago

Expected behavior

Generate vendor folder.

Actual behavior

No vendor folder, and no _workspace folder in Godeps. Just Godeps.json and Readme.

Steps to reproduce behavior

godep save ./...

godep version output

godep v75 (darwin/amd64/go1.7.3)

go version output

go version go1.7.3 darwin/amd64

Contents of Godeps.json file

{ "ImportPath": ".", "GoVersion": "go1.7", "GodepVersion": "v75", "Packages": [ "./..." ], "Deps": [] }

1ambda commented 7 years ago

It happened when Godep doens't changed at all. To reproduce this issue,

  1. Remove vendor dir
  2. Run godep save ./...
  3. Execute ls vendor
$ godep version
godep v75 (darwin/amd64/go1.7.3)
$ go version
go version go1.7.3 darwin/amd64
freeformz commented 6 years ago

I am closing this issue because the repo is going to be archived.