X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=push-to-web.sh;h=3d65b1bd1940231cbdbeb319ad334661396d5246;hb=7142904fe1a5324d9eb90f1ef954eb8c931f7973;hp=ba9d969b6f21f19baf614c3e828d0ecb4f5b16cc;hpb=ff533c1036531c10279a83e5b3cd112dd1afd706;p=dygraphs.git diff --git a/push-to-web.sh b/push-to-web.sh index ba9d969..3d65b1b 100755 --- a/push-to-web.sh +++ b/push-to-web.sh @@ -1,13 +1,14 @@ #!/bin/bash # This script generates the combined JS file, pushes all content to a web site # and then reverts the combined file. +set -x site=$1 # Produce dygraph-combined.js. ./generate-combined.sh # Copy everything to the site. -scp tests/*.html tests/*.js $site/tests/ \ +scp tests/*.html tests/*.js tests/*.png $site/tests/ \ && \ scp dygraph*.js gadget.xml excanvas.js thumbnail.png docs/* $site/