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

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

Issue 199633007: Switch to using pub build instead of custom build_.dart script (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/vmservice/client/pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/resources.sh
diff --git a/runtime/bin/vmservice/client/resources.sh b/runtime/bin/vmservice/client/resources.sh
new file mode 100755
index 0000000000000000000000000000000000000000..06868054f84d5d8b71b96ba7483a517c4c94c7d1
--- /dev/null
+++ b/runtime/bin/vmservice/client/resources.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# NOTE: You should only have to run this script if you add a new resource
+# (html, js, image) file.
+
+# This script generates lines for resources_sources.gypi (standalone)
+# and devtools.gypi (Dartium) for the current deployed Observatory.
+
+if [ ! -d deployed ]; then
+ echo "Please run inside client directory"
+fi
+
+PREFIX="vmservice/client"
+echo "For resources_sources.gypi:"
+for i in `find deployed/web/ -not -type d -not -path '*/\.*'`; do
+ echo "'$PREFIX/$i',"
+done
+
+PREFIX="../../../../dart/runtime/bin/vmservice/client"
+echo "For devtools.gypi:"
+for i in `find deployed/web/ -not -type d -not -path '*/\.*'`; do
+ echo "'$PREFIX/$i',"
+done
« no previous file with comments | « runtime/bin/vmservice/client/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698