Index: third_party/polymer/reproduce.sh |
diff --git a/third_party/polymer/reproduce.sh b/third_party/polymer/reproduce.sh |
index 4fc7febcb13205092b31c7993a63b77110658b5a..d6f0b3fc7155923995f1667c22f5cd916dbe9f86 100755 |
--- a/third_party/polymer/reproduce.sh |
+++ b/third_party/polymer/reproduce.sh |
@@ -14,9 +14,18 @@ set -e |
cd "$(dirname "$0")" |
rm -rf components components-chromium |
+# Remove everything in web-animations-js except README.chromium and OWNERS. |
dzhioev (left Google)
2015/02/11 10:07:28
Let's put web-animations sources to some subdirect
Jeremy Klein
2015/02/11 20:07:26
There's already a src folder in web-animations-js
|
+find ../web-animations-js/* ! \( -name 'README.chromium' -o -name 'OWNERS' \) \( -type f -o -type d \) -delete |
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} |