projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52faf8b
)
Use rsync instead of scp for faster, more correct remote pushing
author
Dan Vanderkam
<danvk@google.com>
Thu, 19 Apr 2012 22:10:55 +0000
(18:10 -0400)
committer
Dan Vanderkam
<danvk@google.com>
Thu, 19 Apr 2012 22:10:55 +0000
(18:10 -0400)
push-to-web.sh
patch
|
blob
|
blame
|
history
diff --git
a/push-to-web.sh
b/push-to-web.sh
index
4d8985c
..
e888f02
100755
(executable)
--- a/
push-to-web.sh
+++ b/
push-to-web.sh
@@
-18,9
+18,9
@@
if [ -s docs/options.html ] ; then
./generate-jsdoc.sh
# Copy everything to the site.
-
scp -
r gallery common tests jsdoc experimental plugins $site \
+
rsync -avz
r gallery common tests jsdoc experimental plugins $site \
&& \
-
scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/*
$site/
+
rsync -avzr dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/
$site/
else
echo "generate-documentation.py failed"
fi