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

Side by Side Diff: dart/site/try/create_manifest.sh

Issue 126003002: Address comments from CL 125123002 and additional cleanup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update copyright year. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/site/try/app.yaml ('k') | dart/site/try/deploy.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/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.
2 7
3 echo CACHE MANIFEST 8 echo CACHE MANIFEST
4 9
5 date +'# %s' 10 date +'# %s'
6 11
7 echo CACHE: 12 echo CACHE:
8 13
9 PKG_DIR="$(cd $(dirname ${0})/../pkg ; pwd)" 14 PKG_DIR="$(cd $(dirname ${0})/../pkg ; pwd)"
10 SDK_DIR="$(cd $(dirname ${0})/../sdk ; pwd)" 15 SDK_DIR="$(cd $(dirname ${0})/../sdk ; pwd)"
11 LIVE_DIR="$(cd $(dirname ${0})/../web_editor ; pwd)" 16 LIVE_DIR="$(cd $(dirname ${0})/../web_editor ; pwd)"
12 17
13 echo ${PKG_DIR}/browser/lib/dart.js | sed -e "s|$(pwd)/||" 18 echo ${PKG_DIR}/browser/lib/dart.js | sed -e "s|$(pwd)/||"
14 19
15 # find ${SDK_DIR} \ 20 # find ${SDK_DIR} \
16 # \( -name dartdoc -o -name pub -o -name dartium \) -prune \ 21 # \( -name dartdoc -o -name pub -o -name dartium \) -prune \
17 # -o -name \*.dart -print \ 22 # -o -name \*.dart -print \
18 # | sed -e "s|$(pwd)/||" 23 # | sed -e "s|$(pwd)/||"
19 24
20 find ${LIVE_DIR} \ 25 find ${LIVE_DIR} \
21 \( -name \*~ \) -prune \ 26 \( -name \*~ \) -prune \
22 -o -type f -print | sed -e "s|$(pwd)/||" 27 -o -type f -print | sed -e "s|$(pwd)/||"
23 28
24 echo iframe.html 29 echo iframe.html
25 echo iframe.js 30 echo iframe.js
26 echo dart-icon.png 31 echo dart-icon.png
27 echo dart-iphone5.png 32 echo dart-iphone5.png
28 33
29 echo NETWORK: 34 echo NETWORK:
30 echo '*' 35 echo '*'
OLDNEW
« no previous file with comments | « dart/site/try/app.yaml ('k') | dart/site/try/deploy.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698