Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
|
raymes
2014/09/23 00:27:56
Please add a comment inside this script and extrac
dzhioev (left Google)
2014/09/23 09:48:53
extract_inline_scripts.sh already has a usage mess
| |
| 7 set -e | 7 set -e |
| 8 | 8 |
| 9 rm -rf components | 9 rm -rf components components-extracted |
| 10 bower install | 10 bower install |
| 11 find components/web-animations-js/ -type f \ | 11 find components/web-animations-js/ -type f \ |
| 12 -not \( -name web-animations.js -o \ | 12 -not \( -name web-animations.js -o \ |
| 13 -name README.md -o \ | 13 -name README.md -o \ |
| 14 -name COPYING \) -delete | 14 -name COPYING \) -delete |
| 15 find components/web-animations-js/ -type d -empty -delete | 15 find components/web-animations-js/ -type d -empty -delete |
| 16 find components/core-list -type f -exec chmod -x {} \; | 16 find components/core-list -type f -exec chmod -x {} \; |
|
raymes
2014/09/23 00:27:56
rather than modifying web-animations-js inside com
raymes
2014/09/23 00:48:10
Oh I see the reason now, because we don't want tho
dzhioev (left Google)
2014/09/23 09:48:53
Renamed components-extracted to components-chromiu
dzhioev (left Google)
2014/09/23 09:48:54
Yep
| |
| 17 ./extract_inline_scripts.sh | |
|
raymes
2014/09/23 00:27:56
Would we only every likely call this from here? Sh
dzhioev (left Google)
2014/09/23 09:48:53
It's pretty large, so I think it's good idea to ke
| |
| OLD | NEW |