unused_deps

command
v0.0.0-...-f7a36c6 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

README

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 ...

Documentation

Overview

The unused_deps binary prints out buildozer commands for removing unused Java dependencies from java_library Bazel rules.

Jump to

Keyboard shortcuts

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