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

Unified Diff: dart/site/try/deploy.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/deploy.sh
diff --git a/dart/site/try/deploy.sh b/dart/site/try/deploy.sh
new file mode 100644
index 0000000000000000000000000000000000000000..9e7145a0dcf4a32e59a0e3f4ead6fa0fbd7206f7
--- /dev/null
+++ b/dart/site/try/deploy.sh
@@ -0,0 +1,6 @@
+old=$1
kasperl 2014/01/07 07:18:43 Add comment that explains what this is for.
ahe 2014/01/07 14:06:23 Done.
+new=$2
+echo git checkout-index -a -f --prefix=$new/
+echo rm -rf $old
+echo sh $new/dart/web_editor/create_manifest.sh \> live.appcache
+echo sed -e "'s/$old/$new/'" -i.$old index.html

Powered by Google App Engine
This is Rietveld 408576698