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
e943090a
Commit
e943090a
authored
Aug 13, 2006
by
John Resig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the test directory.
parent
0cd3821a
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
28 additions
and
7 deletions
+28
-7
Makefile
Makefile
+28
-7
Builder.js
build/js/lib/Test/Builder.js
+0
-0
Harness.js
build/js/lib/Test/Harness.js
+0
-0
Browser.js
build/js/lib/Test/Harness/Browser.js
+0
-0
Director.js
build/js/lib/Test/Harness/Director.js
+0
-0
More.js
build/js/lib/Test/More.js
+0
-0
Simple.js
build/js/lib/Test/Simple.js
+0
-0
tmp.js
build/js/lib/Test/tmp.js
+0
-0
tmp2.js
build/js/lib/Test/tmp2.js
+0
-0
test.js
build/js/lib/test.js
+0
-0
index.html
build/test/index.html
+0
-0
basic.html
build/test/tests/basic.html
+0
-0
css1.html
build/test/tests/css1.html
+0
-0
css2.html
build/test/tests/css2.html
+0
-0
css3.html
build/test/tests/css3.html
+0
-0
custom.html
build/test/tests/custom.html
+0
-0
prereq.html
build/test/tests/prereq.html
+0
-0
xpath.html
build/test/tests/xpath.html
+0
-0
No files found.
Makefile
View file @
e943090a
...
@@ -11,6 +11,8 @@ JQ = ${DIST_DIR}/jquery.js
...
@@ -11,6 +11,8 @@ JQ = ${DIST_DIR}/jquery.js
JQ_LITE
=
${
DIST_DIR
}
/jquery.lite.js
JQ_LITE
=
${
DIST_DIR
}
/jquery.lite.js
JQ_PACK
=
${
DIST_DIR
}
/jquery.pack.js
JQ_PACK
=
${
DIST_DIR
}
/jquery.pack.js
JAR
=
java
-jar
${
BUILD_DIR
}
/js.jar
all
:
jquery lite pack docs
all
:
jquery lite pack docs
@
@echo
"jQuery build complete."
@
@echo
"jQuery build complete."
...
@@ -27,7 +29,7 @@ ${JQ}:
...
@@ -27,7 +29,7 @@ ${JQ}:
cat ${SRC_DIR}/$$f/$$f.js >> ${JQ};
\
cat ${SRC_DIR}/$$f/$$f.js >> ${JQ};
\
done
done
@@echo
${JQ}
"
built.
"
@@echo
${JQ}
"
Built
"
@@echo
@@echo
lite
:
${JQ_LITE}
lite
:
${JQ_LITE}
...
@@ -35,8 +37,8 @@ lite: ${JQ_LITE}
...
@@ -35,8 +37,8 @@ lite: ${JQ_LITE}
${JQ_LITE}
:
jquery
${JQ_LITE}
:
jquery
@
@echo
"Building"
${
JQ_LITE
}
@
@echo
"Building"
${
JQ_LITE
}
@
@echo
" - Removing ScriptDoc from"
${
JQ
}
@
@echo
" - Removing ScriptDoc from"
${
JQ
}
@
@
java
-jar
${
BUILD_DIR
}
/js.jar
${
BUILD_DIR
}
/build/lite.js
${
JQ
}
${
JQ_LITE
}
@
@
${
JAR
}
${
BUILD_DIR
}
/build/lite.js
${
JQ
}
${
JQ_LITE
}
@
@echo
${
JQ_LITE
}
"
built.
"
@
@echo
${
JQ_LITE
}
"
Built
"
@
@echo
@
@echo
pack
:
${JQ_PACK}
pack
:
${JQ_PACK}
...
@@ -44,11 +46,24 @@ pack: ${JQ_PACK}
...
@@ -44,11 +46,24 @@ pack: ${JQ_PACK}
${JQ_PACK}
:
jquery
${JQ_PACK}
:
jquery
@
@echo
"Building"
${
JQ_PACK
}
@
@echo
"Building"
${
JQ_PACK
}
@
@echo
" - Compressing using Packer"
@
@echo
" - Compressing using Packer"
@
@
java
-jar
${
BUILD_DIR
}
/js.jar
${
BUILD_DIR
}
/build/pack.js
${
JQ
}
${
JQ_PACK
}
@
@
${
JAR
}
${
BUILD_DIR
}
/build/pack.js
${
JQ
}
${
JQ_PACK
}
@
@echo
${
JQ_PACK
}
"
built.
"
@
@echo
${
JQ_PACK
}
"
Built
"
@
@echo
@
@echo
test
:
${JQ}
test
:
${JQ}
@
@echo
"Building Test Suite"
@@echo " - Making Test Suite Directory
:
" ${TEST_DIR}
@
@mkdir
-p
${
TEST_DIR
}
@@echo
" - Copying over script files."
@@cp
-R
${BUILD_DIR}/test/js
${TEST_DIR}/js
@@echo
" - Compiling Test Cases"
@@${JAR}
${BUILD_DIR}/test/test.js
${JQ}
${TEST_DIR}
@@echo
"Test Suite Built"
@@echo
docs
:
${JQ}
docs
:
${JQ}
@
@echo
"Building Documentation"
@
@echo
"Building Documentation"
...
@@ -64,11 +79,17 @@ docs: ${JQ}
...
@@ -64,11 +79,17 @@ docs: ${JQ}
@@cp
-R
${BUILD_DIR}/docs/style
${DOCS_DIR}/style
@@cp
-R
${BUILD_DIR}/docs/style
${DOCS_DIR}/style
@@echo
" - Extracting ScriptDoc from"
${JQ}
@@echo
" - Extracting ScriptDoc from"
${JQ}
@@
java
-jar
${BUILD_DIR}/js.jar
${BUILD_DIR}/docs/docs.js
${JQ}
${DOCS_DIR}
@@
${JAR}
${BUILD_DIR}/docs/docs.js
${JQ}
${DOCS_DIR}
@@echo
"Documentation
built.
"
@@echo
"Documentation
Built
"
@@echo
@@echo
clean
:
clean
:
@
@echo
"Removing Distribution directory:"
${
DIST_DIR
}
@
@rm
-rf
${
DIST_DIR
}
@
@rm
-rf
${
DIST_DIR
}
@@echo "Removing Test Suite directory
:
" ${TEST_DIR}
@
@rm
-rf
${
TEST_DIR
}
@@echo "Removing Documentation directory
:
" ${DOCS_DIR}
@
@rm
-rf
${
DOCS_DIR
}
@
@rm
-rf
${
DOCS_DIR
}
test
/lib/Test/Builder.js
→
build/js
/lib/Test/Builder.js
View file @
e943090a
File moved
test
/lib/Test/Harness.js
→
build/js
/lib/Test/Harness.js
View file @
e943090a
File moved
test
/lib/Test/Harness/Browser.js
→
build/js
/lib/Test/Harness/Browser.js
View file @
e943090a
File moved
test
/lib/Test/Harness/Director.js
→
build/js
/lib/Test/Harness/Director.js
View file @
e943090a
File moved
test
/lib/Test/More.js
→
build/js
/lib/Test/More.js
View file @
e943090a
File moved
test
/lib/Test/Simple.js
→
build/js
/lib/Test/Simple.js
View file @
e943090a
File moved
test
/lib/Test/tmp.js
→
build/js
/lib/Test/tmp.js
View file @
e943090a
File moved
test
/lib/Test/tmp2.js
→
build/js
/lib/Test/tmp2.js
View file @
e943090a
File moved
test
/lib/test.js
→
build/js
/lib/test.js
View file @
e943090a
File moved
test/index.html
→
build/
test/index.html
View file @
e943090a
File moved
test/tests/basic.html
→
build/
test/tests/basic.html
View file @
e943090a
File moved
test/tests/css1.html
→
build/
test/tests/css1.html
View file @
e943090a
File moved
test/tests/css2.html
→
build/
test/tests/css2.html
View file @
e943090a
File moved
test/tests/css3.html
→
build/
test/tests/css3.html
View file @
e943090a
File moved
test/tests/custom.html
→
build/
test/tests/custom.html
View file @
e943090a
File moved
test/tests/prereq.html
→
build/
test/tests/prereq.html
View file @
e943090a
File moved
test/tests/xpath.html
→
build/
test/tests/xpath.html
View file @
e943090a
File moved
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