Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: cmd/go: force vendor directory only #19234
TLDR: it would be nice to be able to
So I'd like to have a pre commit hook that checks if the project builds in my ci.
that hook would do something like this:
@mvdan empty default to $HOME and
It doesn't look for the vendor dir, may be it should ?
And I can't use
Edit: same output for
Ah right, it can't find any of the packages then. I guess you could set up a new
Alternatively, I've seen discussions around "building Go packages outside of GOPATH". That might be a solution for this if you unset