commit | 941930a81a5399016067111def07cbad5bfc03a8 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Tue Mar 15 12:25:52 2022 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Tue Mar 15 12:25:52 2022 +0100 |
tree | bb6a5b34799c1a8b50dfe96af2c68dea360c5ed1 | |
parent | 146213284df9e1f3d6dfdca0805f46aea348f39e [diff] |
Use Flogger for writing logs Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ie3a64e3feb23b5b229a25df6956ada2818b31fe2
See src/main/resources/documentation.
For running unit tests execute:
bazel test --test_output=all //plugins/automerger/web:karma_test
For checking or fixing eslint formatter problems run:
bazel test //plugins/automerger/web:lint_test bazel run //plugins/automerger/web:lint_bin -- --fix "$(pwd)/plugins/automerger/web"
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/
folder:
bazel build //plugins/automerger/web:automerger cp -f bazel-bin/plugins/automerger/web/automerger.js plugins/
and let the Dev Helper redirect from .+/plugins/automerger/static/automerger.js
to http://localhost:8081/plugins_/automerger.js
.