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

Unified Diff: runtime/bin/vmservice/observatory/deploy.sh

Issue 837723004: Build Observatory as part of 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/observatory/deploy.sh
diff --git a/runtime/bin/vmservice/observatory/deploy.sh b/runtime/bin/vmservice/observatory/deploy.sh
deleted file mode 100755
index 4cc93f0d53b07f7472b01086338b56a26aefb696..0000000000000000000000000000000000000000
--- a/runtime/bin/vmservice/observatory/deploy.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# This script copies the build outputs produced by `pub build` to
-# the deployed directory.
-
-if [ ! -d "build" ]; then
- echo "Please run pub build first"
- exit
-fi
-
-if [ ! -d "deployed" ]; then
- echo "Run this script from the observatory directory"
- exit
-fi
-
-EXCLUDE="--exclude bootstrap_css"
-EXCLUDE="$EXCLUDE --exclude *.map"
-EXCLUDE="$EXCLUDE --exclude *.concat.js"
-EXCLUDE="$EXCLUDE --exclude *.scriptUrls"
-EXCLUDE="$EXCLUDE --exclude *.precompiled.js"
-EXCLUDE="$EXCLUDE --exclude main.*"
-EXCLUDE="$EXCLUDE --exclude unittest"
-EXCLUDE="$EXCLUDE --exclude *_buildLogs*"
-
-# For some reason...
-#
-# EXCLUDE="$EXCLUDE --exclude *~"
-#
-# ..doesn't work to exclude emacs auto-save files. I'm sure it is
-# something silly, but, in the meantime, solve the problem with a
-# hammer.
-find build -type f | grep ~$ | xargs rm
-
-rsync -av --progress build/web/ deployed/web/ $EXCLUDE
« 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