- <fileset dir="${SRC_DIR}" includes="intro.js" />
- <fileset dir="${SRC_DIR}" includes="core.js" />
- <fileset dir="${SRC_DIR}" includes="selector.js" />
- <fileset dir="${SRC_DIR}" includes="event.js" />
- <fileset dir="${SRC_DIR}" includes="outro.js" />
-
- That'd remove ajax, fx and offset support, leaving basic selectors, manipulation and event handling.
- -->
-
- <!-- SETUP -->
-
- <property description="Source Folder" name="SRC_DIR" value="src" />
- <property description="Files for parsing etc." name="BUILD_DIR" value="build" />
- <property description="Rhino JS Engine" name="JAR" value="${BUILD_DIR}/js.jar" />
-
- <property description="Folder for jquery, min, lite and packed target" name="DIST_DIR" value="./dist" />
-
- <!-- Files names for distribution -->
- <property name="JQ" value="${DIST_DIR}/jquery.js" />
- <property name="JQ_LITE" value="${DIST_DIR}/jquery.lite.js" />
- <property name="JQ_MIN" value="${DIST_DIR}/jquery.min.js" />
- <property name="JQ_PACK" value="${DIST_DIR}/jquery.pack.js" />
-
- <!-- MAIN -->
+ <property name="JQ" value="${dist}/jquery.js" />
+ <property name="JQ_MIN" value="${dist}/jquery.min.js" />
+
+ <loadfile property="sizzle-exports" srcfile="src/sizzle-jquery.js" />
+
+ <available property="qunit" file="test/qunit" />
+ <available property="sizzle" file="src/sizzle" />
+
+ <target name="qunit-clone" unless="qunit">
+ <exec executable="git" outputproperty="git-qunit" >
+ <arg line="clone git://github.com/jquery/qunit.git test/qunit"/>
+ </exec>
+ <echo message="git clone qunit: ${git-qunit}" />
+ </target>
+ <target name="qunit-pull" if="qunit">
+ <exec executable="git" outputproperty="git-qunit" dir="test/qunit" >
+ <arg line="pull origin master"/>
+ </exec>
+ <echo message="git pull sizzle: ${git-qunit}" />
+ </target>
+ <target name="sizzle-clone" unless="sizzle">
+ <exec executable="git" outputproperty="git-sizzle" >
+ <arg line="clone git://github.com/jeresig/sizzle.git src/sizzle"/>
+ </exec>
+ <echo message="git clone sizzle: ${git-sizzle}" />
+ </target>
+ <target name="sizzle-pull" if="sizzle">
+ <exec executable="git" outputproperty="git-sizzle" dir="src/sizzle" >
+ <arg line="pull origin master"/>
+ </exec>
+ <echo message="git pull sizzle: ${git-sizzle}" />
+ </target>