diff options
author | Chi Cheng <cloudream@gmail.com> | 2008-09-10 00:26:11 +0000 |
---|---|---|
committer | Chi Cheng <cloudream@gmail.com> | 2008-09-10 00:26:11 +0000 |
commit | a681cd97c90b3a1573ba1a9712ab55cd7cc04bb6 (patch) | |
tree | fc0894d5664e4fe6db6319373ab3b99e8df9188c /release | |
parent | 32f4412c2bbba3376a0c61a816d3b28b7635f240 (diff) | |
download | jquery-ui-a681cd97c90b3a1573ba1a9712ab55cd7cc04bb6.tar.gz jquery-ui-a681cd97c90b3a1573ba1a9712ab55cd7cc04bb6.zip |
build:jquery.ui.i18n.all.js
Diffstat (limited to 'release')
-rw-r--r-- | release/build.xml | 10 |
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"> |