]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Also minify i18n files.
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 1 Dec 2011 16:05:58 +0000 (17:05 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 1 Dec 2011 18:15:18 +0000 (19:15 +0100)
build/build.xml

index fec10a1a74e408b9067491ddb7be97c139794611..6681116de0df4d88488f8a9cdae00b33506957dc 100644 (file)
                                <mapper type="glob" from="*.js" to="${min.dir}/*.min.js" />
                                <targetfile/>
                        </apply>
+                       <apply executable="build/minify-js.sh">
+                               <fileset dir="${dist.dir}/ui/i18n" includes="**.js" />
+                               <srcfile />
+                               <mapper type="glob" from="*.js" to="${min.dir}/i18n/*.min.js" />
+                               <targetfile/>
+                       </apply>
                        <apply executable="java" parallel="false">
                                <fileset dir="${dist.dir}/themes/base" includes="*.css" />
                                <arg line="-jar" />