wtool

command
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL