commit | 5063f5bd0b7b05402d5a6d2ba5c7740e43002dcd | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Wed Aug 15 16:22:30 2018 -0700 |
committer | Ray Milkey <ray@opennetworking.org> | Thu Aug 16 21:12:34 2018 +0000 |
tree | 515e8e53f0a540cdc16dc72af14de8dea115bc55 | |
parent | f1f227508226ff6e675c10651c2cb9bd3d4bb4ca [diff] [blame] |
Add bazel rule to run buildifier; fix up formatting problems in bazel files Change-Id: Ifa8ab12ed564fa2eaf5edd781281aa5cae52d17a
diff --git a/BUILD b/BUILD index 16f97da..16ee973 100644 --- a/BUILD +++ b/BUILD
@@ -94,3 +94,15 @@ output_to_bindir = True, visibility = ["//visibility:public"], ) + +load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier") + +buildifier( + name = "buildifier_check", + mode = "check", +) + +buildifier( + name = "buildifier_fix", + mode = "fix", +)