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

Unified Diff: third_party/polymer/reproduce.sh

Issue 582873003: Polymer elements added to third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reproduce.sh changes directory before doing things. Created 6 years, 3 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/reproduce.sh
diff --git a/third_party/polymer/reproduce.sh b/third_party/polymer/reproduce.sh
new file mode 100755
index 0000000000000000000000000000000000000000..3e48f8a07c9cedd1b12741850987db930da3d540
--- /dev/null
+++ b/third_party/polymer/reproduce.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+set -e
+
+cd "$(dirname $0)"
Lei Zhang 2014/09/23 21:41:51 You need to put $0 in quotes as well. Otherwise a
+
+rm -rf components
+bower install
+find components/web-animations-js/ -type f \
+ -not \( -name web-animations.js -o \
+ -name README.md -o \
+ -name COPYING \) -delete
+find components/web-animations-js/ -type d -empty -delete
+find components/core-list -type f -exec chmod -x {} \;
+

Powered by Google App Engine
This is Rietveld 408576698