commit | ebc0948708945f78c989f8397ddd0b0032b7f488 | [log] [tgz] |
---|---|---|
author | Ben Rohlfs <brohlfs@google.com> | Mon Oct 04 11:15:26 2021 +0200 |
committer | Ben Rohlfs <brohlfs@google.com> | Mon Oct 04 11:15:26 2021 +0200 |
tree | d5da33dd429c6bcf7c7916240cd3de26962a146b | |
parent | 5665d7971c1725306166ebe9b5ed731c75c80310 [diff] |
Add README.md Change-Id: I00c4cb4dd3ef3ef1e6c0eb5727305fbafc6a7d7b
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
.