X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=generate-combined.sh;h=6443343665c283bd133fdf7ca717adc9776c52ef;hb=b843b52c15b95e0f97a172e67da0a3b865d1d5ee;hp=0f3064a4c125850df4f7e97577d8704adec1a816;hpb=48e614acf3084b9836803f8b014bf0e65f1ca119;p=dygraphs.git diff --git a/generate-combined.sh b/generate-combined.sh index 0f3064a..6443343 100755 --- a/generate-combined.sh +++ b/generate-combined.sh @@ -12,17 +12,21 @@ 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 \ +plugins/base.js \ +plugins/legend.js \ +plugins/install.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 \ > /tmp/dygraph-packed.js -# TODO(danvk): ensure the dygraphs copyright, etc. gets into the packed js. - -cat \ -/tmp/dygraph-packed.js \ -> dygraph-combined.js +( + echo '/*! @license Copyright 2011 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */' + cat /tmp/dygraph-packed.js +) > dygraph-combined.js +chmod a+r dygraph-combined.js