2 # This script generates the combined JS file, pushes all content to a web site
3 # and then reverts the combined file.
5 if [ "$1" == "" ] ; then
6 echo "usage: $0 destination"
12 # Produce dygraph-combined.js.
13 .
/generate-combined.sh
15 # Generate documentation.
16 .
/generate-documentation.py
> docs
/options.html
19 # Copy everything to the site.
20 scp
-r tests jsdoc experimental
$site \
22 scp dygraph
*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs
/* $site/
24 # Revert changes to dygraph-combined.js and docs/options.html
25 git checkout dygraph-combined.js