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 '*' |