mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
build:jquery.ui.i18n.all.js
This commit is contained in:
parent
32f4412c2b
commit
a681cd97c9
@ -7,6 +7,7 @@
|
|||||||
The release built will be stored on 'dist' dir.
|
The release built will be stored on 'dist' dir.
|
||||||
|
|
||||||
@author Eduardo Lundgren (eduardo.lundgren@gmail.com)
|
@author Eduardo Lundgren (eduardo.lundgren@gmail.com)
|
||||||
|
@todo minified/packed i18n files
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<project name="jquery-ui" default="deploy-release" basedir=".">
|
<project name="jquery-ui" default="deploy-release" basedir=".">
|
||||||
@ -26,6 +27,7 @@
|
|||||||
<property name="packed.folder" value="${dist.dir}/ui/packed" />
|
<property name="packed.folder" value="${dist.dir}/ui/packed" />
|
||||||
|
|
||||||
<property name="concatenated" value="jquery.ui.all" />
|
<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" />
|
<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}" />
|
<fileset dir="${src.dir}/" includes="ui.*.js, effects.*.js" excludes="${core.files}" />
|
||||||
</concat>
|
</concat>
|
||||||
<echo message="Concatenated built." />
|
<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>
|
||||||
|
|
||||||
<target name="minify" depends="load.properties, concatenate" description="Remove all comments and whitespace, no compression, great in combination with GZip">
|
<target name="minify" depends="load.properties, concatenate" description="Remove all comments and whitespace, no compression, great in combination with GZip">
|
||||||
|
Loading…
Reference in New Issue
Block a user