
This reverts commit 37636a6256
.
Reason for revert: The googlesource.com environment is not ready for
this yet.
I didn't realize that we couldn't yet use the hybrid version of the
elements in google3 yet. They exist in the polymer2 directory, but
apparently that depends on using polymer2. This change will need to be
reverted until iron-input v1 is updated to get the polymer2 "hybrid"
version.
Change-Id: Ibeeae2458337b0a225993e12b043b1e65c3c4c04
21 lines
461 B
Bash
Executable File
21 lines
461 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
npm_bin=$(which npm)
|
|
if [[ -z "$npm_bin" ]]; then
|
|
echo "NPM must be on the path."
|
|
exit 1
|
|
fi
|
|
|
|
polylint_bin=$(which polylint)
|
|
if [[ -z "$polylint_bin" ]]; then
|
|
echo "You must install polylint and its dependencies from NPM."
|
|
echo "> npm install -g polylint"
|
|
exit 1
|
|
fi
|
|
|
|
unzip polygerrit-ui/polygerrit_components.bower_components.zip -d polygerrit-ui/app
|
|
|
|
${polylint_bin} --root polygerrit-ui/app --input elements/gr-app.html
|