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

Side by Side Diff: dart/site/try/deploy.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/create_manifest.sh ('k') | dart/site/try/extracted_themes.dart » ('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
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 # Deploy step for try.dartlang.org. Usage:
7 #
8 # bash deploy.sh OLD NEW
9 #
10 # Where OLD and NEW are unique prefixes, for example, a short git commit hash.
11 # OLD is the existing prefix that should be replaced by NEW.
12
1 old=$1 13 old=$1
2 new=$2 14 new=$2
3 echo git checkout-index -a -f --prefix=$new/ 15 echo git checkout-index -a -f --prefix=$new/
4 echo rm -rf $old 16 echo rm -rf $old
5 echo sh $new/dart/web_editor/create_manifest.sh \> live.appcache 17 echo sh $new/dart/web_editor/create_manifest.sh \> live.appcache
6 echo sed -e "'s/$old/$new/'" -i.$old index.html 18 echo sed -e "'s/$old/$new/'" -i.$old index.html
OLDNEW
« no previous file with comments | « dart/site/try/create_manifest.sh ('k') | dart/site/try/extracted_themes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698