Fix codemirror-editor build

Moves the polymer dependency out of the plugin and into the test, as it
is injected during the Gerrit build step (and bower install is not run
during the Gerrit //plugins:core build step).

Change-Id: I968bfc9ebd836e49c5c592222d032dec0fe4bc5c
2 files changed
tree: 64b4b5111f213b6bf29ec477ed8e9856e6453d32
  1. gr-editor/
  2. java/
  3. test/
  4. .gitignore
  5. bower.json
  6. BUILD
  7. plugin.html
  8. README.md
README.md

CodeMirror Editor

A plugin that uses CodeMirror to provide a rich code editing experience in PolyGerrit.

Testing

This plugin uses polymer-cli to test.

After bower install, running polymer test -l chrome will run all tests in Chrome, and running polymer serve and navigating to http://127.0.0.1:8081/components/codemirror-editor/gr-editor/gr-editor_test.html allows for manual debugging.