continue docs
[dygraphs.git] / push-to-web.sh
CommitLineData
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.
4site=$1
5
6# Produce dygraph-combined.js.
7./generate-combined.sh
8
9# Copy everything to the site.
10scp tests/*.html tests/*.js $site/tests/ \
11&& \
12scp dygraph*.js gadget.xml excanvas.js thumbnail.png docs/* $site/
13
14# Revert changes to dygraph-combined.js
15git co dygraph-combined.js