X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=generate-combined.sh;h=ea9f92bd6738f4a7df291ea39172ba092e539462;hb=255a9615d8f005600bea393c8bdb3c6f085f7a4c;hp=5694425742b2cf9f6171ea377f2d1100e0c581d4;hpb=f2cfa23b0bb9d33bda9a39036508fe60284a6451;p=dygraphs.git diff --git a/generate-combined.sh b/generate-combined.sh index 5694425..ea9f92b 100755 --- a/generate-combined.sh +++ b/generate-combined.sh @@ -1,12 +1,22 @@ #!/bin/bash # Generates a single JS file that's easier to include. -# Pack the dygraphs JS and rgbcolor +# Pack all the JS together. + +# This list needs to be kept in sync w/ the one in dygraph-dev.js +# and the one in jsTestDriver.conf. cat \ +dygraph-layout.js \ dygraph-canvas.js \ dygraph.js \ +dygraph-utils.js \ +dygraph-gviz.js \ +dygraph-interaction-model.js \ +dygraph-range-selector.js \ +dygraph-tickers.js \ rgbcolor/rgbcolor.js \ strftime/strftime-min.js \ +| perl -ne 'print unless m,REMOVE_FOR_COMBINED,..m,/REMOVE_FOR_COMBINED,' \ > /tmp/dygraph.js java -jar yuicompressor-2.4.2.jar /tmp/dygraph.js \