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

Unified Diff: dart/site/try/create_manifest.sh

Issue 125123002: try.dartlang.org version 5. (Closed) Base URL: /Users/ahe/Dart/all@master
Patch Set: Created 6 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: dart/site/try/create_manifest.sh
diff --git a/dart/site/try/create_manifest.sh b/dart/site/try/create_manifest.sh
new file mode 100644
index 0000000000000000000000000000000000000000..6437b701d1f30ff849b8a167c686a4e33f7c7eab
--- /dev/null
+++ b/dart/site/try/create_manifest.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+echo CACHE MANIFEST
+
+date +'# %s'
+
+echo CACHE:
+
+PKG_DIR="$(cd $(dirname ${0})/../pkg ; pwd)"
+SDK_DIR="$(cd $(dirname ${0})/../sdk ; pwd)"
+LIVE_DIR="$(cd $(dirname ${0})/../web_editor ; pwd)"
+
+echo ${PKG_DIR}/browser/lib/dart.js | sed -e "s|$(pwd)/||"
+
+# find ${SDK_DIR} \
+# \( -name dartdoc -o -name pub -o -name dartium \) -prune \
+# -o -name \*.dart -print \
+# | sed -e "s|$(pwd)/||"
+
+find ${LIVE_DIR} \
+ \( -name \*~ \) -prune \
+ -o -type f -print | sed -e "s|$(pwd)/||"
+
+echo iframe.html
+echo iframe.js
+echo dart-icon.png
+echo dart-iphone5.png
+
+echo NETWORK:
+echo '*'

Powered by Google App Engine
This is Rietveld 408576698