]> source.dussan.org Git - jquery.git/commitdiff
Added task to build packed tabs plugin
authorKlaus Hartl <klaus.hartl@googlemail.com>
Fri, 20 Oct 2006 15:07:40 +0000 (15:07 +0000)
committerKlaus Hartl <klaus.hartl@googlemail.com>
Fri, 20 Oct 2006 15:07:40 +0000 (15:07 +0000)
build.xml

index 3596136c8a9817ee3492fea354dd3d1d9f372d3d..0919aaa8ab0b90847c0b2ede2c8c9e7f8a49bd46 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,14 +1,14 @@
 <project name="jQuery" default="all" basedir=".">\r
-       \r
+\r
        <!-- SETUP -->
 
     <property name="SRC_DIR" value="src" />
     <property name="BUILD_DIR" value="build" />
     <property name="JAR" value="${BUILD_DIR}/js.jar" />\r
-       \r
+\r
        <property name="PLUGIN_DIR" location="../plugins" />\r
        <property name="PLUGINS" value="none" />\r
-       
+
     <property name="PREFIX" value="." />
     <property name="DOCS_DIR" value="${PREFIX}/docs" />
     <property name="TEST_DIR" value="${PREFIX}/test" />
     <property name="JQ_MIN" value="${DIST_DIR}/jquery.min.js" />
     <property name="JQ_PACK" value="${DIST_DIR}/jquery.pack.js" />\r
 \r
+       <property name="TABS" value="${PLUGIN_DIR}/tabs/tabs.js" />\r
+       <property name="TABS_PACK" value="${DIST_DIR}/jquery.tabs.pack.js" />\r
+\r
        <!-- MAIN -->\r
-       \r
+\r
     <target name="jquery">
         <echo message="Building ${JQ}" />
         <mkdir dir="${DIST_DIR}" />
     <target name="all" depends="clean,jquery,lite,min,pack,docs,test" >
         <echo message="Build complete." />
     </target>\r
-       \r
+\r
        <!-- PLUGINS -->\r
-       \r
+\r
        <target name="ifx" description="Build jquery with Interface fx plugins">\r
                <antcall target="jquery">\r
                        <param name="PLUGINS" value="interface/ifx*.js" />\r
                </antcall>\r
        </target>\r
-       \r
+\r
        <target name="cookieFormPager" description="Build jquery with cookie, form and pager plugins">\r
                <antcall target="jquery">\r
                        <param name="PLUGINS" value="cookie/*.js,form/*.js,pager/*.js" />\r
                </antcall>\r
        </target>\r
+\r
+       <target name="pack_tabs">\r
+        <echo message="Building ${TABS_PACK}" />\r
+        <java jar="${JAR}" fork="true">\r
+            <arg value="${BUILD_DIR}/build/pack.js" />\r
+            <arg value="${TABS}" />\r
+            <arg value="${TABS_PACK}" />\r
+        </java>\r
+        <echo message="${TABS_PACK} built." />\r
+    </target>\r
 
 </project>