Minor fix to zoom.html comment.
[dygraphs.git] / commit-hook / commit.sh
CommitLineData
4e2670b0
DV
1#!/bin/bash
2id=$1;
3
4echo id: $id > ./id.txt
5dir=git-$id
6mkdir $dir
7cd $dir
8
9# TODO(danvk): any way to clone at a particular revision?
10git clone --depth 0 git://github.com/danvk/dygraphs.git
11cd dygraphs
12./generate-combined.sh
13
14# Copy data over to http://www.danvk.org/dygraphs/
15cp tests/*.html tests/*.js ~/danvk.org/dygraphs/tests/
16cp dygraph.js dygraph-canvas.js dygraph-combined.js gadget.xml excanvas.js thumbnail.png docs/* ~/danvk.org/dygraphs/
17
18cd ../..
19rm -rf $dir