commit | 86d5bfecebe272f3e5dc3b93eb0c74231a9c2d33 | [log] [tgz] |
---|---|---|
author | Gavin Mak <gavinmak@google.com> | Wed Feb 08 18:25:56 2023 |
committer | Gavin Mak <gavinmak@google.com> | Wed Feb 08 18:25:56 2023 |
tree | a23cc60179f216cc4433fa484165293c83b25892 | |
parent | ec78a4ea2b90fb7bb8eba5e72928dda93d221166 [diff] |
Generalize corp warner message Not all corp links are googlesource related. Change-Id: I9613db24033e8ad08c218e047b23a5ef86108615
This plugin must be placed inside the Gerrit plugins directory:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit/plugins git clone https://chromium.googlesource.com/infra/gerrit-plugins/chromium-behavior
Run the commands below in web/.
For running TypeScript unit tests execute:
make test
For checking or fixing eslint formatter problems run:
make lint_test make lint_fix
For testing the plugin with Gerrit FE Dev Helper the command below builds the JavaScript bundle and copies it to the plugins/chromium-behavior
folder:
make build
Start polygerit-ui server:
./polygerrit-ui/run-server.sh --plugins="plugins"
and let the Dev Helper redirect from .+/plugins/chromium-behavior/static/chromium-behavior.js
to http://localhost:8081/plugins/chromium-behavior.js
.