| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/env bash | |
| 2 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
| 3 # for details. All rights reserved. Use of this source code is governed by a | |
| 4 # BSD-style license that can be found in the LICENSE file. | |
| 5 | |
| 6 # Script to create AppCache manifest. | |
| 7 | |
| 8 echo CACHE MANIFEST | |
| 9 | |
| 10 date +'# %s' | |
| 11 | |
| 12 echo CACHE: | |
| 13 | |
| 14 PKG_DIR="$(cd $(dirname ${0})/../pkg ; pwd)" | |
| 15 SDK_DIR="$(cd $(dirname ${0})/../sdk ; pwd)" | |
| 16 LIVE_DIR="$(cd $(dirname ${0})/../web_editor ; pwd)" | |
| 17 | |
| 18 echo ${PKG_DIR}/browser/lib/dart.js | sed -e "s|$(pwd)/||" | |
| 19 | |
| 20 # find ${SDK_DIR} \ | |
| 21 # \( -name dartdoc -o -name pub -o -name dartium \) -prune \ | |
| 22 # -o -name \*.dart -print \ | |
| 23 # | sed -e "s|$(pwd)/||" | |
| 24 | |
| 25 find ${LIVE_DIR} \ | |
| 26 \( -name \*~ \) -prune \ | |
| 27 -o -type f -print | sed -e "s|$(pwd)/||" | |
| 28 | |
| 29 echo iframe.html | |
| 30 echo iframe.js | |
| 31 echo dart-icon.png | |
| 32 echo dart-iphone5.png | |
| 33 | |
| 34 echo NETWORK: | |
| 35 echo '*' | |
| OLD | NEW |