Commit | Line | Data |
---|---|---|
ff533c10 DV |
1 | #!/bin/bash |
2 | # This script generates the combined JS file, pushes all content to a web site | |
3 | # and then reverts the combined file. | |
4 | site=$1 | |
5 | ||
6 | # Produce dygraph-combined.js. | |
7 | ./generate-combined.sh | |
8 | ||
9 | # Copy everything to the site. | |
10 | scp tests/*.html tests/*.js $site/tests/ \ | |
11 | && \ | |
12 | scp dygraph*.js gadget.xml excanvas.js thumbnail.png docs/* $site/ | |
13 | ||
14 | # Revert changes to dygraph-combined.js | |
15 | git co dygraph-combined.js |