Index: third_party/polymer/v1_0/reproduce.sh |
diff --git a/third_party/polymer/v1_0/reproduce.sh b/third_party/polymer/v1_0/reproduce.sh |
index ef74fd8f8e040aa01d09396aa2b5125f8ea35680..b52aba5cda60df7a5f239dd3ab3a89ee07eb6b77 100755 |
--- a/third_party/polymer/v1_0/reproduce.sh |
+++ b/third_party/polymer/v1_0/reproduce.sh |
@@ -6,8 +6,8 @@ |
# Reproduces the content of 'components' and 'components-chromium' using the |
# list of dependencies from 'bower.json'. Downloads needed packages and makes |
-# Chromium specific modifications. To launch the script you need 'bower', |
-# 'crisper', and 'vulcanize' installed on your system. |
+# Chromium specific modifications. To launch the script you need 'bower' and |
+# 'crisper' installed on your system. |
set -e |
@@ -61,7 +61,7 @@ sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html |
patch -p1 < chromium.patch |
new=$(git status --porcelain components-chromium | grep '^??' | \ |
- cut -d' ' -f2 | egrep '\.(html|js|css)$') |
+ cut -d' ' -f2 | egrep '\.(html|js|css)$' || true) |
if [[ ! -z "${new}" ]]; then |
echo |
@@ -70,7 +70,7 @@ if [[ ! -z "${new}" ]]; then |
fi |
deleted=$(git status --porcelain components-chromium | grep '^.D' | \ |
- sed 's/^.//' | cut -d' ' -f2 | egrep '\.(html|js|css)$') |
+ sed 's/^.//' | cut -d' ' -f2 | egrep '\.(html|js|css)$' || true) |
if [[ ! -z "${deleted}" ]]; then |
echo |
@@ -81,3 +81,5 @@ fi |
if [[ ! -z "${new}${deleted}" ]]; then |
echo |
fi |
+ |
+python create_components_summary.py > components_summary.txt |