Commit 01e93815 authored by Christoph Thelen's avatar Christoph Thelen

Minify Touch Charts

parent 622d66e5
......@@ -28,12 +28,22 @@
<mapper type="glob" from="*.js" to="*.js.min"/>
<!-- copy Touch Charts manually -->
<copy todir="${build.lib.dir}/touch-charts-2.0">
<fileset dir="${main.lib.dir}/touch-charts-2.0">
<include name="touch-charts.js"/>
<!-- Handle Touch Charts without throwing IE8 errors -->
<apply executable="java" dest="${main.dir}" failonerror="true">
<arg value="-jar"/>
<arg value="${main.lib.dir}/compiler.jar"/>
<arg line="--jscomp_warning internetExplorerChecks"/>
<arg value="--js"/>
<arg value="--js_output_file"/>
<fileset dir="${main.dir}">
<include name="**/*touch-charts-debug.js"/>
<include name="**/*touch-charts.js"/>
<mapper type="glob" from="*.js" to="*.js.min"/>
<target name="-min:js:move" depends="-min:js:minify">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment