We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Main source of inspiration
$ cat tools.go | grep _ | awk -F'"' '{print $2}' | xargs -tI % go install %
or
install-tools: download @echo Installing tools from tools.go @cat go list -f '{{range .Imports}}{{.}} {{end}}' tools.go | xargs go install
If you don't want to install the tools under $GOPATH/bin, you can do:
$GOPATH/bin
go list -f '{{range .Imports}}{{.}} {{end}}' tools.go | GOBIN=$(shell pwd)/bin xargs go install
The text was updated successfully, but these errors were encountered:
No branches or pull requests
References
Main source of inspiration
Manage Go tools via Go modules
or
install-tools: download @echo Installing tools from tools.go @cat go list -f '{{range .Imports}}{{.}} {{end}}' tools.go | xargs go install
or
If you don't want to install the tools under
$GOPATH/bin
, you can do:The text was updated successfully, but these errors were encountered: