2 # Generates a single JS file that's easier to include.
5 # This list needs to be kept in sync w/ the one in dygraph-dev.js
6 # and the one in jsTestDriver.conf. Order matters, except for the plugins.
8 strftime
/strftime-min.js \
18 dygraph-interaction-model.js \
20 dygraph-plugin-base.js \
22 dygraph-plugin-install.js \
23 datahandler
/datahandler.js \
24 datahandler
/default.js \
25 datahandler
/default-fractions.js \
27 datahandler
/bars-custom.js \
28 datahandler
/bars-error.js \
29 datahandler
/bars-fractions.js
35 # Pack all the JS together.
39 | perl
-ne
'print unless m,REMOVE_FOR_COMBINED,..m,/REMOVE_FOR_COMBINED,'
43 echo '/*! @license Copyright 2011 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */'
49 | java
-jar yuicompressor-2.4
.2.jar
--type js
61 compress*|cat_compress
*)
65 CatCompressed
> dygraph-combined.js
66 chmod a
+r dygraph-combined.js
69 echo >&2 "Unknown action '$ACTION'"