Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 526 Bytes

Unused Deps

unused_deps is a command line tool to determine any unused dependencies in java_library rules. targets. It outputs buildozer commands to apply the suggested prunings.

Installation

Build a binary and put it into your $GOPATH/bin:

go get github.com/bazelbuild/buildtools/unused_deps

Usage

unused_deps TARGET...

Here, TARGET is a space-separated list of Bazel labels, with support for :all and ...

You can’t perform that action at this time.