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 25902371754d6762859e553e0a7c88d3e8a84ef9..bbad3e0a3b70fe9246df577e1dde51c26f7fea44 100755 |
--- a/third_party/polymer/v1_0/reproduce.sh |
+++ b/third_party/polymer/v1_0/reproduce.sh |
@@ -64,3 +64,25 @@ sed -i 's/['"$NBSP"']/\\u00A0/g' components/polymer/polymer-mini.html |
# and apply additional chrome specific patches. NOTE: Where possible create |
# a Polymer issue and/or pull request to minimize these patches. |
patch -p1 < chromium.patch |
+ |
dschuyler
2015/11/21 02:48:49
nit: A comment like "The following informs the use
Dan Beam
2015/11/21 02:56:26
that's pretty apparent from ... the code itself
|
+new=$(git status --porcelain components-chromium | grep '^??' | \ |
+ cut -d' ' -f2 | egrep '\.(html|js|css)$') |
+ |
+if [[ ! -z "${new}" ]]; then |
+ echo |
+ echo 'These files appear to have been added:' |
+ echo "${new}" | sed 's/^/ /' |
+fi |
+ |
+deleted=$(git status --porcelain components-chromium | grep '^.D' | \ |
+ sed 's/^.//' | cut -d' ' -f2 | egrep '\.(html|js|css)$') |
+ |
+if [[ ! -z "${deleted}" ]]; then |
+ echo |
+ echo 'These files appear to have been removed:' |
+ echo "${deleted}" | sed 's/^/ /' |
+fi |
+ |
+if [[ ! -z "${new}${deleted}" ]]; then |
+ echo |
+fi |