Closed jommgoncalves closed 7 years ago
I saw the same behavior too. If the main package is not in the current directory, could you try supplying the path to the main package? E.g. godep save -v ./cmd/...
Note: I put all my main packages under ./cmd/, hence my example command.
godep save
w/o a package spec defaults to '.'. So if there are not
packages in the current directory nothing will be saved.
On Thu, Nov 10, 2016 at 12:04 AM chnrxn notifications@github.com wrote:
I saw the same behavior too. If the main package is not in the current directory, could you try supplying the path to the main package? E.g. godep save -v ./cmd/...
Note: I put all my main packages under ./cmd/, hence my example command.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tools/godep/issues/516#issuecomment-259625504, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAAZx1UgCs4ShU_i_XV-TiNXee7Tu-Wks5q8s_zgaJpZM4KAuQq .
Expected behavior
After execute
godep save
we expected that all dependencies are in the fileGodeps/Godeps.json
.Actual behavior
The library
github.com/bmizerany/assert
used in all*_test.go
is missing.Steps to reproduce behavior
godep save
godep version
outputgodep v74 (darwin/amd64/go1.6.2)
go version
outputgo version go1.6.3 darwin/amd64