Documentation ¶
Overview ¶
wtool augments your bazel WORKSPACE file with go_repository entries
Example Usage:
wtool com_github_golang_glog com_google_cloud_go
will add 2 go_repository rules 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.