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

Side by Side Diff: runtime/bin/vmservice/client/precommit.sh

Issue 187923009: Fix Dartium Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/app/vm.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # A polymer application compiled with dart2js depends on 3 # A polymer application compiled with dart2js depends on
4 # 4 js files: 4 # 4 js files:
5 # 1) packages/shadow_dom/shadow_dom.debug.js 5 # 1) packages/shadow_dom/shadow_dom.debug.js
6 # 2) packages/custom_element/custom-elements.debug.js 6 # 2) packages/custom_element/custom-elements.debug.js
7 # 3) packages/browser/interop.js 7 # 3) packages/browser/interop.js
8 # 4) index.html_bootstrap.dart.precompiled.js 8 # 4) index.html_bootstrap.dart.precompiled.js
9 9
10 # This script rolls 1, 2, 3, and 4 into index.html_bootstrap.dart.js 10 # This script rolls 1, 2, 3, and 4 into index.html_bootstrap.dart.js
(...skipping 30 matching lines...) Expand all
41 # This kills harmless (but distracting) Chrome Developer Console spam 41 # This kills harmless (but distracting) Chrome Developer Console spam
42 # about missing scripts. 42 # about missing scripts.
43 perl -pi -e 's/<script src="packages.*"><\/script>//g' \ 43 perl -pi -e 's/<script src="packages.*"><\/script>//g' \
44 $DEPLOYED/index.html 44 $DEPLOYED/index.html
45 perl -pi -e 's/<script src="packages.*"><\/script>//g' \ 45 perl -pi -e 's/<script src="packages.*"><\/script>//g' \
46 $DEPLOYED/index_devtools.html 46 $DEPLOYED/index_devtools.html
47 47
48 # The polymer compilation step munges <img> src urls and adds a packages/ 48 # The polymer compilation step munges <img> src urls and adds a packages/
49 # prefix to the url. Because of how we deploy we must undo this and remove 49 # prefix to the url. Because of how we deploy we must undo this and remove
50 # the prefix. Without this, images will show up as broken links. 50 # the prefix. Without this, images will show up as broken links.
51 perl -pi -e 's/packages\/observatory\/src\/observatory_elements\///g' \ 51 perl -pi -e 's/packages\/observatory\/src\/elements\///g' \
52 $DEPLOYED/index.html 52 $DEPLOYED/index.html
53 perl -pi -e 's/packages\/observatory\/src\/observatory_elements\///g' \ 53 perl -pi -e 's/packages\/observatory\/src\/elements\///g' \
54 $DEPLOYED/index_devtools.html 54 $DEPLOYED/index_devtools.html
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/app/vm.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698