Chromium Code Reviews| 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 {} \; |
| + |