Index: third_party/polymer/v1_0/extract_inline_scripts.sh |
diff --git a/third_party/polymer/v1_0/extract_inline_scripts.sh b/third_party/polymer/v1_0/extract_inline_scripts.sh |
index c6c22ecfeaff71c63fbb72c8400fe90c10643e8b..ca60af2f984af5e2636de2fc83b75983f20cecd4 100755 |
--- a/third_party/polymer/v1_0/extract_inline_scripts.sh |
+++ b/third_party/polymer/v1_0/extract_inline_scripts.sh |
@@ -21,15 +21,10 @@ fi |
src="${1%/}" |
dst="${2%/}" |
-rsync -c --delete -r -v --exclude="compiled_resources*.gyp" "$src/" "$dst/" |
+rsync -c --delete -r -v --exclude-from="rsync_exclude.txt" \ |
michaelpg
2016/04/02 02:15:53
also nice
|
+ --prune-empty-dirs "$src/" "$dst/" |
-find "$dst" -name "*.html" \ |
- -not -path "*/demos/*" \ |
- -not -path "*/test/*" \ |
- -not -path "*/tests/*" \ |
- -not -name "demo*.html" \ |
- -not -name "index.html" \ |
- -not -name "metadata.html" | \ |
+find "$dst" -name "*.html" | \ |
xargs grep -l "<script>" | \ |
while read original_html_name |
do |