Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: vet subcommand can't find vet executable after go.tools move #5529

Closed
DanielMorsing opened this issue May 21, 2013 · 6 comments
Closed

Comments

@DanielMorsing
Copy link
Contributor

The go tool cannot find vet after it was moved into go.tools

% go vet
exec: "/home/daniel/src/go/pkg/tool/linux_amd64/vet": stat
/home/daniel/src/go/pkg/tool/linux_amd64/vet: no such file or directory
% go get code.google.com/p/go.tools/cmd/vet
% go vet  
exec: "/home/daniel/src/go/pkg/tool/linux_amd64/vet": stat
/home/daniel/src/go/pkg/tool/linux_amd64/vet: no such file or directory
@minux
Copy link
Member

minux commented May 21, 2013

Comment 1:

Owner changed to @robpike.

@robpike
Copy link
Contributor

robpike commented May 21, 2013

Comment 2:

You need to install it by hand, and the go command may need to know this as a special
case. I had a Makefile with an 'install' rule but I deleted it because people get all
bothered if we depend on a Makefile.
untried:
go build code.google.com/p/go.tools/cmd/vet -o $(GOROOT)/pkg/tool/$(GOOS)_$(GOARCH)/vet

@robpike
Copy link
Contributor

robpike commented May 21, 2013

Comment 3:

Plan is to have "go tool" know about $GOPATH.

Labels changed: added priority-soon, removed priority-triage.

@robpike
Copy link
Contributor

robpike commented May 22, 2013

Comment 4:

This issue was closed by revision 23dec8d.

Status changed to Fixed.

@robpike
Copy link
Contributor

robpike commented May 22, 2013

Comment 5:

Issue #5535 has been merged into this issue.

@minux
Copy link
Member

minux commented May 22, 2013

Comment 6:

Issue #5535 has been merged into this issue.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants