commit | efced2a4f730582bee2b78c48a4bdb85e6aa4fe8 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Jun 03 12:24:12 2019 |
committer | Alice Kober-Sotzek <aliceks@google.com> | Mon Jun 03 12:24:12 2019 |
tree | 8f16a9731cc56c4bde97063416f9905273d70a09 | |
parent | 0be109a32505a569403a339ee69fea99716d7b7c [diff] |
Bazel: Automatically fix lint errors with buildifier In recent buildifier versions, lint errors can be fixed automatically: $ find . \( -name BUILD -o -name "*.bzl" \) -print \ | xargs buildifier --lint=fix This commit was created with Buildifier version 0.22.0: $ buildifier --version buildifier version: 0.22.0 buildifier scm revision: 55b64c3d2ddfb57f06477c1d94ef477419c96bd6 Change-Id: I01c0a9ff5418270e86f3f9206c4c89fa8d174553 Reviewed-on: https://chromium-review.googlesource.com/c/infra/gerrit-plugins/chumpdetector/+/1565763 Reviewed-by: Alice Kober-Sotzek <aliceks@google.com>
ln -s /path/to/chumpdetector-plugin plugins/chumpdetector NO_BUCKD=1 buck build plugins/chumpdetector && \ cp buck-out/gen/plugins/chumpdetector/chumpdetector.jar ../gerrit_testsite/plugins/ && \ ../gerrit_testsite/bin/gerrit.sh restart
mkdir -p polygerrit-ui/app/plugins/chumpdetector ln -s /path/to/chumpdetector-plugin/src/main/resources/static polygerrit-ui/app/plugins/chumpdetector/static ./polygerrit-ui/run-server.sh -host chromium-review.googlesource.com
You may also need to edit chumpdetectorURL
to point directly at chromium-review.googlesource.com
instead of being relative.