Index: third_party/polymer/reproduce.sh |
diff --git a/third_party/polymer/reproduce.sh b/third_party/polymer/reproduce.sh |
index 4fc7febcb13205092b31c7993a63b77110658b5a..6007cef0c552e3c193e04e566482825af6a2720a 100755 |
--- a/third_party/polymer/reproduce.sh |
+++ b/third_party/polymer/reproduce.sh |
@@ -12,11 +12,22 @@ |
set -e |
cd "$(dirname "$0")" |
+echo "$(dirname "$0")" |
rm -rf components components-chromium |
+# Remove everything in web-animations-js except README.chromium and OWNERS. |
+find ../web-animations-js/* ! \( -name 'README.chromium' -o -name 'OWNERS' \) \( -type f -o -type d \) -delete |
+ls ../web-animations-js |
bower install |
+rm -rf components/web-animations-js/test |
+rm -rf components/web-animations-js/node_modules |
+shopt -s dotglob |
+mv components/web-animations-js/* ../web-animations-js/ |
+rm -rf components/web-animations-js |
+mv ../web-animations-js/COPYING ../web-animations-js/LICENSE |
+ |
# These components are deprecated or needed only for demos. |
rm -rf components/{core-component-page,core-field,font-roboto,webcomponentsjs} |