Documentation ¶
Overview ¶
wtool augments your bazel WORKSPACE file with new_go_repository entries
Example Usage:
wtool com_github_golang_glog com_google_cloud_go
will add 2 new_go_repository to your WORKSPACE by converting com_github_golang_glog -> github.com/golang/glog and so forth and then doing a 'git ls-remote' to get the latest commit.
If wtool cannot figure out the bazel -> Go mapping, try Other Usage:
wtool -asis github.com/golang/glog
which takes an importpath, and computes the bazel name + ls-remote as above.
Click to show internal directories.
Click to hide internal directories.