]> source.dussan.org Git - jgit.git/commitdiff
Format BUILD files with buildifier 64/103264/2
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 17 Aug 2017 22:22:11 +0000 (23:22 +0100)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 18 Aug 2017 09:01:06 +0000 (10:01 +0100)
Change-Id: I5e2a286866b63a8fa2bd29cc2fe432fab2bbe0af
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
lib/BUILD
org.eclipse.jgit.test/BUILD

index 827e6b6fc6f8d4b764083f9e074990315156e06f..ffe66a3d89e043f08c1ddfb8ff6ac03dfd9a1f33 100644 (file)
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -115,9 +115,9 @@ java_library(
     testonly = 1,
     visibility = ["//visibility:public"],
     exports = [
-       "@junit//jar",
-       "@hamcrest_core//jar",
-       "@hamcrest_library//jar",
+        "@hamcrest_core//jar",
+        "@hamcrest_library//jar",
+        "@junit//jar",
     ],
 )
 
index ae6f24223c04da9322c6b43e1f6e9fe0e9ff9dce..bbda838f00990ea6fa8de344e48c4e7d0bebb258 100644 (file)
@@ -33,7 +33,7 @@ DATA = [
 
 tests(glob(
     ["tst/**/*.java"],
-    exclude = HELPERS + DATA
+    exclude = HELPERS + DATA,
 ))
 
 java_library(
@@ -54,8 +54,8 @@ java_import(
 )
 
 genrule2(
-  name = 'tst_rsrc_jar',
-  cmd = 'o=$$PWD/$@ && tar cf - $(SRCS) | tar -C $$TMP --strip-components=2 -xf - && cd  $$TMP && zip -qr $$o .',
-  srcs = glob(['tst-rsrc/**']),
-  outs = ['tst_rsrc.jar',],
+    name = "tst_rsrc_jar",
+    srcs = glob(["tst-rsrc/**"]),
+    outs = ["tst_rsrc.jar"],
+    cmd = "o=$$PWD/$@ && tar cf - $(SRCS) | tar -C $$TMP --strip-components=2 -xf - && cd  $$TMP && zip -qr $$o .",
 )