Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
5778a35a
Commit
5778a35a
authored
Dec 08, 2009
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed ant build by cloning or pulling qunit and sizzle submodules, similar to the make build
parent
b3acfa52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
build.xml
build.xml
+32
-1
No files found.
build.xml
View file @
5778a35a
...
@@ -11,9 +11,40 @@
...
@@ -11,9 +11,40 @@
<property
name=
"JQ_LITE"
value=
"${DIST_DIR}/jquery.lite.js"
/>
<property
name=
"JQ_LITE"
value=
"${DIST_DIR}/jquery.lite.js"
/>
<property
name=
"JQ_MIN"
value=
"${DIST_DIR}/jquery.min.js"
/>
<property
name=
"JQ_MIN"
value=
"${DIST_DIR}/jquery.min.js"
/>
<loadfile
property=
"version"
srcfile=
"version.txt"
/>
<loadfile
property=
"version"
srcfile=
"version.txt"
/>
<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>
<target
name=
"jquery"
description=
"Main jquery build, concatenates source files and replaces @VERSION"
>
<target
name=
"jquery"
de
pends=
"qunit-clone,qunit-pull,sizzle-clone,sizzle-pull"
de
scription=
"Main jquery build, concatenates source files and replaces @VERSION"
>
<echo
message=
"Building ${JQ}"
/>
<echo
message=
"Building ${JQ}"
/>
<copy
file=
"src/sizzle/sizzle.js"
tofile=
"src/selector.js"
overwrite=
"true"
/>
<replaceregexp
match=
"// EXPOSE"
replace=
"${sizzle-exports}"
file=
"src/selector.js"
/>
<mkdir
dir=
"${DIST_DIR}"
/>
<mkdir
dir=
"${DIST_DIR}"
/>
<concat
destfile=
"${JQ}"
>
<concat
destfile=
"${JQ}"
>
<fileset
dir=
"${SRC_DIR}"
includes=
"intro.js"
/>
<fileset
dir=
"${SRC_DIR}"
includes=
"intro.js"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment