2 # Generates a single JS file that's easier to include.
4 # Pack all the JS together.
6 # This list needs to be kept in sync w/ the one in dygraph-dev.js
7 # and the one in jsTestDriver.conf.
9 strftime
/strftime-min.js \
10 rgbcolor
/rgbcolor.js \
19 dygraph-interaction-model.js \
20 dygraph-range-selector.js \
23 plugins
/annotations.js \
25 plugins
/chart-labels.js \
29 | perl
-ne
'print unless m,REMOVE_FOR_COMBINED,..m,/REMOVE_FOR_COMBINED,' \
32 java
-jar yuicompressor-2.4
.2.jar
/tmp
/dygraph.js \
33 > /tmp
/dygraph-packed.js
36 echo '/*! @license Copyright 2011 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */'
37 cat /tmp
/dygraph-packed.js
38 ) > dygraph-combined.js
39 chmod a
+r dygraph-combined.js