aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
Diffstat (limited to 'release')
-rw-r--r--release/build.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/release/build.xml b/release/build.xml
index abc4737f7..4bfa00af8 100644
--- a/release/build.xml
+++ b/release/build.xml
@@ -7,6 +7,7 @@
The release built will be stored on 'dist' dir.
@author Eduardo Lundgren (eduardo.lundgren@gmail.com)
+ @todo minified/packed i18n files
-->
<project name="jquery-ui" default="deploy-release" basedir=".">
@@ -26,6 +27,7 @@
<property name="packed.folder" value="${dist.dir}/ui/packed" />
<property name="concatenated" value="jquery.ui.all" />
+ <property name="concatenated.i18n" value="jquery.ui.i18n.all" />
<property name="core.files" value="ui.core.js, ui.draggable.js, ui.droppable.js, ui.resizable.js, ui.selectable.js, ui.sortable.js, effects.core.js" />
@@ -43,6 +45,14 @@
<fileset dir="${src.dir}/" includes="ui.*.js, effects.*.js" excludes="${core.files}" />
</concat>
<echo message="Concatenated built." />
+
+ <mkdir dir="${dist.dir}/ui/i18n/" />
+ <delete file="${dist.dir}/ui/i18n/${concatenated.i18n}.js" />
+
+ <concat destfile="${dist.dir}/ui/i18n/${concatenated.i18n}.js" encoding="utf-8">
+ <fileset dir="${src.dir}/i18n/" includes="ui.*.js" />
+ </concat>
+ <echo message="Concatenated i18n built." />
</target>
<target name="minify" depends="load.properties, concatenate" description="Remove all comments and whitespace, no compression, great in combination with GZip">