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
3980dc92
Commit
3980dc92
authored
Oct 26, 2006
by
Yehuda Katz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments to various plugins and added make and ant options to make docs with plugins
parent
fce3c7f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
5 deletions
+89
-5
Makefile
Makefile
+30
-3
build.xml
build.xml
+59
-2
No files found.
Makefile
View file @
3980dc92
...
@@ -5,12 +5,30 @@ PREFIX = .
...
@@ -5,12 +5,30 @@ PREFIX = .
DOCS_DIR
=
${
PREFIX
}
/docs
DOCS_DIR
=
${
PREFIX
}
/docs
TEST_DIR
=
${
PREFIX
}
/test
TEST_DIR
=
${
PREFIX
}
/test
DIST_DIR
=
${
PREFIX
}
/dist
DIST_DIR
=
${
PREFIX
}
/dist
PLUG_DIR
=
../plugins
MODULES
=
${
SRC_DIR
}
/intro.js
\
BASE_FILES
=
${
SRC_DIR
}
/jquery/
*
\
${
SRC_DIR
}
/jquery/
*
\
${
SRC_DIR
}
/event/
*
\
${
SRC_DIR
}
/event/
*
\
${
SRC_DIR
}
/fx/
*
\
${
SRC_DIR
}
/fx/
*
\
${
SRC_DIR
}
/ajax/
*
\
${
SRC_DIR
}
/ajax/
*
PLUGINS
=
${
PLUG_DIR
}
/button/
*
\
${
PLUG_DIR
}
/center/
*
\
${
PLUG_DIR
}
/cookie/
*
\
${
PLUG_DIR
}
/form/
*
\
${
PLUG_DIR
}
/greybox/greybox.js
\
${
PLUG_DIR
}
/interface/
*
\
${
PLUG_DIR
}
/pager/
*
\
${
PLUG_DIR
}
/tablesorter/
*
\
${
PLUG_DIR
}
/tabs/
*
MODULES
=
${
SRC_DIR
}
/intro.js
\
${
BASE_FILES
}
\
${
SRC_DIR
}
/outro.js
MODULES_WITH_PLUGINS
=
${
SRC_DIR
}
/intro.js
\
${
BASE_FILES
}
\
${
PLUGINS
}
\
${
SRC_DIR
}
/outro.js
${
SRC_DIR
}
/outro.js
JQ
=
${
DIST_DIR
}
/jquery.js
JQ
=
${
DIST_DIR
}
/jquery.js
...
@@ -39,6 +57,15 @@ ${JQ}: ${MODULES}
...
@@ -39,6 +57,15 @@ ${JQ}: ${MODULES}
@@echo
${JQ}
"Built"
@@echo
${JQ}
"Built"
@@echo
@@echo
with_plugins
:
${MODULES_WITH_PLUGINS}
@
@echo
"Building"
${
JQ
}
@@mkdir
-p
${DIST_DIR}
@@cat
${MODULES_WITH_PLUGINS}
|
${VER}
>
${JQ};
@@echo
${JQ}
"Built"
@@echo
lite
:
${JQ_LITE}
lite
:
${JQ_LITE}
${JQ_LITE}
:
${JQ}
${JQ_LITE}
:
${JQ}
...
...
build.xml
View file @
3980dc92
...
@@ -38,6 +38,29 @@
...
@@ -38,6 +38,29 @@
</concat>
</concat>
<echo
message=
"${JQ} built."
/>
<echo
message=
"${JQ} built."
/>
</target>
</target>
<target
name=
"with_plugins"
>
<echo
message=
"Building ${JQ}"
/>
<mkdir
dir=
"${DIST_DIR}"
/>
<concat
destfile=
"${JQ}"
>
<fileset
dir=
"${SRC_DIR}"
includes=
"intro.js"
/>
<fileset
dir=
"${SRC_DIR}"
includes=
"jquery/*.js"
/>
<fileset
dir=
"${SRC_DIR}"
includes=
"event/*.js"
/>
<fileset
dir=
"${SRC_DIR}"
includes=
"fx/*.js"
/>
<fileset
dir=
"${SRC_DIR}"
includes=
"ajax/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"button/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"center/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"cookie/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"form/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"greybox/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"interface/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"pager/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"tablesorter/*.js"
/>
<fileset
dir=
"${PLUGIN_DIR}"
includes=
"tabs/*.js"
/>
<fileset
dir=
"${SRC_DIR}"
includes=
"outro.js"
/>
</concat>
<echo
message=
"${JQ} built."
/>
</target>
<target
name=
"lite"
depends=
"jquery"
>
<target
name=
"lite"
depends=
"jquery"
>
<echo
message=
"Building ${JQ_LITE}"
/>
<echo
message=
"Building ${JQ_LITE}"
/>
...
@@ -67,7 +90,17 @@
...
@@ -67,7 +90,17 @@
<arg
value=
"${JQ_PACK}"
/>
<arg
value=
"${JQ_PACK}"
/>
</java>
</java>
<echo
message=
"${JQ_PACK} built."
/>
<echo
message=
"${JQ_PACK} built."
/>
</target>
</target>
<target
name=
"pack_with_plugins"
depends=
"with_plugins"
>
<echo
message=
"Building ${JQ_PACK}"
/>
<java
jar=
"${JAR}"
fork=
"true"
>
<arg
value=
"${BUILD_DIR}/build/pack.js"
/>
<arg
value=
"${JQ}"
/>
<arg
value=
"${JQ_PACK}"
/>
</java>
<echo
message=
"${JQ_PACK} built."
/>
</target>
<target
name=
"test"
depends=
"jquery"
>
<target
name=
"test"
depends=
"jquery"
>
<echo
message=
"Building Test Suite"
/>
<echo
message=
"Building Test Suite"
/>
...
@@ -106,7 +139,31 @@
...
@@ -106,7 +139,31 @@
<arg
value=
"${DOCS_DIR}"
/>
<arg
value=
"${DOCS_DIR}"
/>
</java>
</java>
<echo
message=
"Documentation built."
/>
<echo
message=
"Documentation built."
/>
</target>
</target>
<target
name=
"docs_with_plugins"
depends=
"with_plugins"
>
<echo
message=
"Building Documentation"
/>
<delete
dir=
"${DOCS_DIR}"
/>
<mkdir
dir=
"${DOCS_DIR}/data"
/>
<copy
todir=
"${DOCS_DIR}"
file=
"${BUILD_DIR}/docs/.htaccess"
/>
<mkdir
dir=
"${DOCS_DIR}/js"
/>
<copy
todir=
"${DOCS_DIR}/js"
>
<fileset
dir=
"${BUILD_DIR}/docs/js"
>
<include
name=
"**/*.js"
/>
</fileset>
</copy>
<copy
todir=
"${DOCS_DIR}/style"
>
<fileset
dir=
"${BUILD_DIR}/docs/style"
>
<include
name=
"**"
/>
</fileset>
</copy>
<java
jar=
"${JAR}"
fork=
"true"
>
<arg
value=
"${BUILD_DIR}/docs/docs.js"
/>
<arg
value=
"${JQ}"
/>
<arg
value=
"${DOCS_DIR}"
/>
</java>
<echo
message=
"Documentation built."
/>
</target>
<target
name=
"clean"
>
<target
name=
"clean"
>
<delete
dir=
"${DOCS_DIR}"
/>
<delete
dir=
"${DOCS_DIR}"
/>
...
...
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