use scp -r to copy tests directory
authorDan Vanderkam <dan@dygraphs.com>
Sun, 24 Apr 2011 22:47:37 +0000 (18:47 -0400)
committerDan Vanderkam <dan@dygraphs.com>
Sun, 24 Apr 2011 22:47:37 +0000 (18:47 -0400)
push-to-web.sh

index 7aca0f4..997201b 100755 (executable)
@@ -11,7 +11,7 @@ site=$1
 ./generate-documentation.py > docs/options.html
 
 # Copy everything to the site.
-scp tests/*.html tests/*.js tests/*.png $site/tests/ \
+scp -r tests $site \
 && \
 scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/