Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: third_party/polymer/v1_0/reproduce.sh

Issue 1623693002: Tidy up in Polymer directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698