Bazel: Fix issues flagged by buildifier

Use the -lint=fix option to automatically format files.

buildifier version: 0.29.0
buildifier scm revision: 19db42aa7a206a52b67bc66477c069ca83d092f4

Change-Id: I50a31fe96d3acd49b2674df8ce5a8c9c3ec455e1
This commit is contained in:
David Ostrovsky 2020-01-09 08:00:48 +01:00
parent 8790fa9a07
commit 4493387715
2 changed files with 3 additions and 3 deletions

4
BUILD
View File

@ -1,8 +1,8 @@
package(default_visibility = ["//visibility:public"])
load("//tools/bzl:genrule2.bzl", "genrule2")
load("//tools/bzl:pkg_war.bzl", "pkg_war")
package(default_visibility = ["//visibility:public"])
config_setting(
name = "java9",
values = {

View File

@ -104,7 +104,7 @@ def polygerrit_bundle(name, srcs, outs, app):
"for f in $(locations " + name + "_theme_sources); do cp $$f $$TMP/polygerrit_ui/styles/themes; done",
"for f in $(locations //lib/js:highlightjs_files); do cp $$f $$TMP/polygerrit_ui/bower_components/highlightjs/ ; done",
"unzip -qd $$TMP/polygerrit_ui/bower_components $(location @webcomponentsjs//:zipfile) webcomponentsjs/webcomponents-lite.js",
"unzip -qd $$TMP/polygerrit_ui/bower_components $(location @font-roboto-local//:zipfile) font-roboto-local/fonts/\*/\*.ttf",
"unzip -qd $$TMP/polygerrit_ui/bower_components $(location @font-roboto-local//:zipfile) font-roboto-local/fonts/\\*/\\*.ttf",
"cd $$TMP",
"find . -exec touch -t 198001010000 '{}' ';'",
"zip -qr $$ROOT/$@ *",