aboutsummaryrefslogtreecommitdiffstats
path: root/library/jquery.i18n/build.xml
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-12-04 10:25:11 +0000
committerMario <mario@mariovavti.com>2019-12-04 10:25:11 +0000
commitbde429cff649237984903a252ba1a718e6d74f53 (patch)
treeb2b2570159cfb37689e6ce3b96c3b1b988d676cc /library/jquery.i18n/build.xml
parentcc9f41df5f83bcab435d6fb941b5a8f5b1457037 (diff)
parent4c8d33d1eb2a804aa70a7bc677d6c73d0d94816b (diff)
downloadvolse-hubzilla-bde429cff649237984903a252ba1a718e6d74f53.tar.gz
volse-hubzilla-bde429cff649237984903a252ba1a718e6d74f53.tar.bz2
volse-hubzilla-bde429cff649237984903a252ba1a718e6d74f53.zip
Merge branch '4.6RC'4.6
Diffstat (limited to 'library/jquery.i18n/build.xml')
-rw-r--r--library/jquery.i18n/build.xml55
1 files changed, 0 insertions, 55 deletions
diff --git a/library/jquery.i18n/build.xml b/library/jquery.i18n/build.xml
deleted file mode 100644
index 99274e75f..000000000
--- a/library/jquery.i18n/build.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="jquery.i18n" default="jquery.i18n" basedir=".">
-
- <tstamp />
-
- <loadfile property="version" srcfile="VERSION"/>
-
- <property description="Folder for jquery.i18n and min target" name="dist" value="."/>
- <property name="JQI" value="${dist}/jquery.i18n.js"/>
- <property name="JQI_MIN" value="${dist}/jquery.i18n.min.js"/>
-
- <target name="jquery.i18n" description="Main jquery.i18n build, concatenates source files and replaces @VERSION">
- <echo message="Building ${JQI}"/>
- <mkdir dir="${dist}"/>
- <concat destfile="${JQI}">
- <fileset file="src/jquery.i18n.js"/>
- </concat>
- <replaceregexp match="@VERSION" replace="${version}" flags="g" byline="true" file="${JQI}"/>
- <replaceregexp match="@DATE" replace="${DSTAMP}${TSTAMP}" file="${JQI}"/>
- <echo message="${JQI} built."/>
- </target>
-
- <target name="min" depends="jquery.i18n" description="Remove all comments and whitespace, no compression, great in combination with GZip">
- <echo message="Building ${JQI_MIN}"/>
- <apply executable="java" parallel="false" verbose="true" dest="${dist}">
- <fileset dir="${dist}">
- <include name="jquery.i18n.js"/>
- </fileset>
- <arg line="-jar"/>
- <arg path="build/compiler.jar"/>
- <arg value="--warning_level"/>
- <arg value="QUIET"/>
- <arg value="--js_output_file"/>
- <targetfile/>
- <arg value="--js"/>
- <mapper type="glob" from="jquery.i18n.js" to="tmpmin"/>
- </apply>
- <concat destfile="${JQI_MIN}">
- <filelist files="${JQI}, tmpmin"/>
- <filterchain>
- <headfilter lines="11"/>
- </filterchain>
- </concat>
- <concat destfile="${JQI_MIN}" append="yes">
- <filelist files="tmpmin"/>
- </concat>
- <delete file="tmpmin"/>
- <echo message="${JQI_MIN} built."/>
- </target>
-
- <target name="clean">
- <delete dir="tmpmin"/>
- </target>
-
-</project>