Chromium Code Reviews| 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 |