Skip to content

A bazel BUILD file formatter and editor

License

Notifications You must be signed in to change notification settings

gcc42/buildifier

 
 

Repository files navigation

Buildifier

buildifier is a tool for formatting bazel BUILD files with a standard convention.

linux-x86_64 ubuntu_15.10-x86_64 darwin-x86_64
Build Status Build Status Build Status

Setup

Build the tool:

  • Checkout the repo and then either via go install or bazel build //buildifier
  • If you already have 'go' installed, then build a binary via:

go get github.com/bazelbuild/buildifier/buildifier

Usage

Use buildifier to create standardized formatting for BUILD files in the same way that clang-format is used for source files.

$ buildifier -showlog -mode=check $(find . -iname BUILD -type f)

About

A bazel BUILD file formatter and editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.9%
  • Yacc 5.4%
  • Python 1.1%
  • Other 0.6%