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

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

Issue 839543002: Revert "Build Observatory with runtime" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # This script copies the build outputs produced by `pub build` to
4 # the deployed directory.
5
6 if [ ! -d "build" ]; then
7 echo "Please run pub build first"
8 exit
9 fi
10
11 if [ ! -d "deployed" ]; then
12 echo "Run this script from the observatory directory"
13 exit
14 fi
15
16 EXCLUDE="--exclude bootstrap_css"
17 EXCLUDE="$EXCLUDE --exclude *.map"
18 EXCLUDE="$EXCLUDE --exclude *.concat.js"
19 EXCLUDE="$EXCLUDE --exclude *.scriptUrls"
20 EXCLUDE="$EXCLUDE --exclude *.precompiled.js"
21 EXCLUDE="$EXCLUDE --exclude main.*"
22 EXCLUDE="$EXCLUDE --exclude unittest"
23 EXCLUDE="$EXCLUDE --exclude *_buildLogs*"
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
34 rsync -av --progress build/web/ deployed/web/ $EXCLUDE
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/observatory/bin/shell.dart ('k') | runtime/bin/vmservice/observatory/deployed/web/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698