Added the submodule init/update to the Makefile for 'make test' and updated the README to be more current.

This commit is contained in:
John Resig 2009-10-22 21:44:44 -04:00
parent 920238d485
commit 4c85dec058
2 changed files with 8 additions and 13 deletions

View file

@ -124,6 +124,8 @@ test: ${JQ}
@@echo "Building Test Suite" @@echo "Building Test Suite"
@@echo "Test Suite Built" @@echo "Test Suite Built"
@@echo @@echo
git submodule init
git submodule update
runtest: ${JQ} test runtest: ${JQ} test
@@echo "Running Automated Test Suite" @@echo "Running Automated Test Suite"

19
README
View file

@ -5,7 +5,7 @@ http://jquery.com/
-------------------------------- --------------------------------
What you need to build your own jQuery: What you need to build your own jQuery:
- Make sure that you have Java installed. - Make sure that you have Java installed (if you want to build a minified or 'lite' version of jQuery).
If not, go to this page and download "Java Runtime Environment (JRE) 5.0" If not, go to this page and download "Java Runtime Environment (JRE) 5.0"
http://java.sun.com/javase/downloads/index.jsp http://java.sun.com/javase/downloads/index.jsp
@ -37,19 +37,12 @@ make lite
jQuery without all the additional inline documentation and test cases. jQuery without all the additional inline documentation and test cases.
Makes: ./dist/jquery.lite.js Makes: ./dist/jquery.lite.js
make pack make min
A compressed version of jQuery (made with Packer). A compressed version of jQuery (made the YUI Minifier).
Makes: ./dist/jquery.pack.js Makes: ./dist/jquery.min.js
make docs
Builds a complete copy of the documentation, based upon the jQuery source.
Makes ./docs/
Open this file in your browser:
./docs/index.xml
make test make test
Builds a complete copy of the test suite, based upon the jQuery source. Makes sure that the QUnit submodule is properly checked out.
Makes ./test/
Open this file in your browser: Open this file in your browser:
./test/index.html ./test/index.html
@ -64,4 +57,4 @@ OR
If you have any questions, please feel free to ask them on the jQuery If you have any questions, please feel free to ask them on the jQuery
mailing list, which can be found here: mailing list, which can be found here:
http://jquery.com/discuss/ http://docs.jquery.com/Discussion