buildcleaner

command
v0.1.0-f1b71fe Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

buildcleaner

buildcleaner is a command line tool to apply automatic rewrites to Bazel BUILD and WORKSPACE files.

Examples

Remove --dry_run to edit the files.

WORKSPACE management

bazel run -- bazel/buildcleaner fixWorkspace --workspace $PWD --dry_run

This will print failed to mirror errors that can be safely ignored. These errors list the dependencies that are not in the bazel-mirror GCS bucket. However, the future of bazel-mirror is uncertain, so keeping it up-to-date for our build is not a priority.

Dependency license checks

Running getLicenses generates a list of licenses of dependencies.

Note: it only gets licenses for http_archive rules.

bazel run -- bazel/buildcleaner getLicenses --workspace $PWD | sort

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Util functions for interacting with the local workspace.
Util functions for interacting with the local workspace.

Jump to

Keyboard shortcuts

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