adjust spacing
[dygraphs.git] / generate-combined.sh
CommitLineData
6a1aa64f
DV
1#!/bin/bash
2# Generates a single JS file that's easier to include.
43f15770 3
f474c2a3 4# Pack the dygraphs JS and rgbcolor
6a1aa64f 5cat \
6a1aa64f
DV
6dygraph-canvas.js \
7dygraph.js \
f474c2a3 8rgbcolor/rgbcolor.js \
b2a516b8
DV
9> /tmp/dygraph.js
10
5709f0d5 11java -jar custom_rhino.jar -c /tmp/dygraph.js \
b2a516b8
DV
12> /tmp/dygraph-packed.js
13
5709f0d5
DV
14# TODO(danvk): ensure the dygraphs copyright, etc. gets into the packed js.
15
b2a516b8 16cat \
6219c9d6 17strftime/strftime-min.js \
b2a516b8 18/tmp/dygraph-packed.js \
6a1aa64f 19> dygraph-combined.js