From 9150caa83541f836b9876b501b5d0ab59836485a Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 10 Jan 2019 16:32:17 +0900 Subject: [PATCH] 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 --- org.eclipse.jgit.lfs.test/BUILD | 4 ++-- org.eclipse.jgit.test/BUILD | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.eclipse.jgit.lfs.test/BUILD b/org.eclipse.jgit.lfs.test/BUILD index 213ba5794..cc8bc606e 100644 --- a/org.eclipse.jgit.lfs.test/BUILD +++ b/org.eclipse.jgit.lfs.test/BUILD @@ -1,10 +1,10 @@ -package(default_visibility = ["//visibility:public"]) - load( "@com_googlesource_gerrit_bazlets//tools:junit.bzl", "junit_tests", ) +package(default_visibility = ["//visibility:public"]) + junit_tests( name = "lfs", srcs = glob(["tst/**/*.java"]), diff --git a/org.eclipse.jgit.test/BUILD b/org.eclipse.jgit.test/BUILD index 0b18e5ef7..95fb79b22 100644 --- a/org.eclipse.jgit.test/BUILD +++ b/org.eclipse.jgit.test/BUILD @@ -1,8 +1,8 @@ -load(":tests.bzl", "tests") load( "@com_googlesource_gerrit_bazlets//tools:genrule2.bzl", "genrule2", ) +load(":tests.bzl", "tests") PKG = "tst/org/eclipse/jgit/"