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

Side by Side Diff: runtime/bin/vmservice/observatory/deploy.sh

Issue 584293002: Begin implementing a debugger page in Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 2 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 | « no previous file | runtime/bin/vmservice/observatory/deployed/web/index.html » ('j') | 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 # This script copies the build outputs produced by `pub build` to 3 # This script copies the build outputs produced by `pub build` to
4 # the deployed directory. 4 # the deployed directory.
5 5
6 if [ ! -d "build" ]; then 6 if [ ! -d "build" ]; then
7 echo "Please run pub build first" 7 echo "Please run pub build first"
8 exit 8 exit
9 fi 9 fi
10 10
11 if [ ! -d "deployed" ]; then 11 if [ ! -d "deployed" ]; then
12 echo "Run this script from the observatory directory" 12 echo "Run this script from the observatory directory"
13 exit 13 exit
14 fi 14 fi
15 15
16 EXCLUDE="--exclude bootstrap_css" 16 EXCLUDE="--exclude bootstrap_css"
17 EXCLUDE="$EXCLUDE --exclude *.map" 17 EXCLUDE="$EXCLUDE --exclude *.map"
18 EXCLUDE="$EXCLUDE --exclude *.concat.js" 18 EXCLUDE="$EXCLUDE --exclude *.concat.js"
19 EXCLUDE="$EXCLUDE --exclude *.scriptUrls" 19 EXCLUDE="$EXCLUDE --exclude *.scriptUrls"
20 EXCLUDE="$EXCLUDE --exclude *.precompiled.js" 20 EXCLUDE="$EXCLUDE --exclude *.precompiled.js"
21 EXCLUDE="$EXCLUDE --exclude main.*" 21 EXCLUDE="$EXCLUDE --exclude main.*"
22 EXCLUDE="$EXCLUDE --exclude unittest" 22 EXCLUDE="$EXCLUDE --exclude unittest"
23 EXCLUDE="$EXCLUDE --exclude *_buildLogs*" 23 EXCLUDE="$EXCLUDE --exclude *_buildLogs*"
24 24
25 # For some reason...
26 #
27 # EXCLUDE="$EXCLUDE --exclude *~"
28 #
29 # ..doesn't work to exclude emacs auto-save files. I'm sure it is
30 # something silly, but, in the meantime, solve the problem with a
31 # hammer.
32 find build -type f | grep ~$ | xargs rm
33
25 rsync -av --progress build/web/ deployed/web/ $EXCLUDE 34 rsync -av --progress build/web/ deployed/web/ $EXCLUDE
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/vmservice/observatory/deployed/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698