constabulary / gb

gb, the project based build tool for Go
https://getgb.io/
MIT License
2.15k stars 148 forks source link

why vendor/src? #727

Closed jareddlc closed 7 years ago

jareddlc commented 7 years ago

go projects want its deps inside vendor/ but gb vendor restore puts them in vendor/src/ which breaks other tools. Whats the reasoning behind this.

davecheney commented 7 years ago

So you can do this

GOPATH=$PROJECT:$PROJECT/vendor

For interoperability with tools that even GOPATH formatter source.

On Sat, 2 Sep 2017, 09:08 Jared De La Cruz notifications@github.com wrote:

go projects want its deps inside vendor/ but gb puts them in vendor/src/ which breaks other tools. Whats the reasoning behind this.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/constabulary/gb/issues/727, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAcA7EwH75kniTyCSGZqDva3ZIFsUeKks5seI5sgaJpZM4PKtiz .