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
12166e9b
Commit
12166e9b
authored
Jan 04, 2009
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed build.xml to use YUICompressor, fixes #3779.
parent
434b87b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
build.xml
build.xml
+13
-5
No files found.
build.xml
View file @
12166e9b
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
<property
description=
"Source Folder"
name=
"SRC_DIR"
value=
"src"
/>
<property
description=
"Source Folder"
name=
"SRC_DIR"
value=
"src"
/>
<property
description=
"Files for parsing etc."
name=
"BUILD_DIR"
value=
"build"
/>
<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=
"Rhino JS Engine"
name=
"JAR"
value=
"${BUILD_DIR}/js.jar"
/>
<property
description=
"YUICompressor"
name=
"YUICompressor"
value=
"${BUILD_DIR}/yuicompressor-2.4.2.jar"
/>
<property
description=
"Folder for jquery, min, lite and packed target"
name=
"DIST_DIR"
value=
"./dist"
/>
<property
description=
"Folder for jquery, min, lite and packed target"
name=
"DIST_DIR"
value=
"./dist"
/>
...
@@ -54,11 +55,18 @@
...
@@ -54,11 +55,18 @@
<target
name=
"min"
depends=
"jquery"
description=
"Remove all comments and whitespace, no compression, great in combination with GZip"
>
<target
name=
"min"
depends=
"jquery"
description=
"Remove all comments and whitespace, no compression, great in combination with GZip"
>
<echo
message=
"Building ${JQ_MIN}"
/>
<echo
message=
"Building ${JQ_MIN}"
/>
<java
jar=
"${JAR}"
fork=
"true"
>
<apply
executable=
"java"
parallel=
"false"
verbose=
"true"
dest=
"${DIST_DIR}"
>
<arg
value=
"${BUILD_DIR}/build/min.js"
/>
<fileset
dir=
"${DIST_DIR}"
>
<arg
value=
"${JQ}"
/>
<include
name=
"jquery.js"
/>
<arg
value=
"${JQ_MIN}"
/>
</fileset>
</java>
<arg
line=
"-jar"
/>
<arg
path=
"${YUICompressor}"
/>
<arg
value=
"--charset"
/>
<arg
value=
"ANSI"
/>
<arg
value=
"-o"
/>
<targetfile
/>
<mapper
type=
"glob"
from=
"jquery.js"
to=
"jquery.min.js"
/>
</apply>
<echo
message=
"${JQ_MIN} built."
/>
<echo
message=
"${JQ_MIN} built."
/>
</target>
</target>
...
...
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