Bazel: Automatically format build file with buildifier 0.20.0
Version 0.20.0 of buildifier has a lint mode that can fix the formatting issues automatically: buildifier --lint=fix Apply this to BUILD files. Change-Id: I1120a0f15771d0bbea4daa34037be0b860385389 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
01f8e53b26
commit
9150caa835
|
@ -1,10 +1,10 @@
|
||||||
package(default_visibility = ["//visibility:public"])
|
|
||||||
|
|
||||||
load(
|
load(
|
||||||
"@com_googlesource_gerrit_bazlets//tools:junit.bzl",
|
"@com_googlesource_gerrit_bazlets//tools:junit.bzl",
|
||||||
"junit_tests",
|
"junit_tests",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
junit_tests(
|
junit_tests(
|
||||||
name = "lfs",
|
name = "lfs",
|
||||||
srcs = glob(["tst/**/*.java"]),
|
srcs = glob(["tst/**/*.java"]),
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
load(":tests.bzl", "tests")
|
|
||||||
load(
|
load(
|
||||||
"@com_googlesource_gerrit_bazlets//tools:genrule2.bzl",
|
"@com_googlesource_gerrit_bazlets//tools:genrule2.bzl",
|
||||||
"genrule2",
|
"genrule2",
|
||||||
)
|
)
|
||||||
|
load(":tests.bzl", "tests")
|
||||||
|
|
||||||
PKG = "tst/org/eclipse/jgit/"
|
PKG = "tst/org/eclipse/jgit/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue