Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-04-07 03:04:25 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-04-07 03:04:25 +0400
commit9ca9c566db9a6a4b9b86f9899a16df172856d70f (patch)
tree09f5b9d494fab32a0a9db24843b08bd2cd72af6f /libs/jqplot
parentf3544da351ab5de4dce4d406a89d0a68b4317730 (diff)
Simplify minification script [ci skip]
Diffstat (limited to 'libs/jqplot')
-rwxr-xr-xlibs/jqplot/build_minified_script.sh22
1 files changed, 2 insertions, 20 deletions
diff --git a/libs/jqplot/build_minified_script.sh b/libs/jqplot/build_minified_script.sh
index 9ba958e670..7276679ae1 100755
--- a/libs/jqplot/build_minified_script.sh
+++ b/libs/jqplot/build_minified_script.sh
@@ -1,26 +1,8 @@
# build jqplot-custom.min.js
# the yuicompressor needs to be set up in piwik/js (see piwik/js/README.md)
-cat jqplot.core.js > jqplot-custom.min.js-temp
-cat jqplot.linearAxisRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.axisTickRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.axisLabelRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.tableLegendRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.lineRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.linePattern.js >> jqplot-custom.min.js-temp
-cat jqplot.markerRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.divTitleRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.canvasGridRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.shadowRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.shapeRenderer.js >> jqplot-custom.min.js-temp
-cat jqplot.sprintf.js >> jqplot-custom.min.js-temp
-cat jqplot.themeEngine.js >> jqplot-custom.min.js-temp
-cat plugins/jqplot.pieRenderer.js >> jqplot-custom.min.js-temp
-cat plugins/jqplot.barRenderer.js >> jqplot-custom.min.js-temp
-cat plugins/jqplot.categoryAxisRenderer.js >> jqplot-custom.min.js-temp
-cat plugins/jqplot.canvasTextRenderer.js >> jqplot-custom.min.js-temp
-cat plugins/jqplot.canvasAxisTickRenderer.js >> jqplot-custom.min.js-temp
+find . -name 'jqplot*.js' -print|xargs cat > jqplot-custom.min.js-temp
java -jar ../../js/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar --type js --line-break 1000 jqplot-custom.min.js-temp > jqplot-custom.min.js
-rm ./jqplot-custom.min.js-temp \ No newline at end of file
+rm ./jqplot-custom.min.js-temp