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

Unified Diff: runtime/bin/vmservice/client/build.sh

Issue 266043004: Small cleanup to Code and Profiler pages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/build.sh
diff --git a/runtime/bin/vmservice/client/build.sh b/runtime/bin/vmservice/client/build.sh
new file mode 100755
index 0000000000000000000000000000000000000000..2084b46d0be7fd89439736dffc2783d04d9fa5dc
--- /dev/null
+++ b/runtime/bin/vmservice/client/build.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# This script copies the build outputs produced by `pub build` to
+# the deployed directory.
+
+if [ ! -d "deployed" ]; then
+ echo "Run this script from the client directory"
+ exit
+fi
+
+# Fixup polymer breakage
+pushd lib/src
+find . -name "*.html" -exec ../../dotdot.sh {} \;
+popd
+
+# Build JS
+pub build
+
+# Undo polymer breakage fix
+pushd lib/src
+find . -name "*.html" -exec ../../notdotdot.sh {} \;
+popd
+
+# Deploy
+./deploy.sh
+
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698