BUILD_DIR = build
PREFIX = .
-DOCS_DIR = ${PREFIX}/docs
TEST_DIR = ${PREFIX}/test
DIST_DIR = ${PREFIX}/dist
SPEED_DIR = ${PREFIX}/speed
${SRC_DIR}/outro.js
JQ = ${DIST_DIR}/jquery.js
-JQ_LITE = ${DIST_DIR}/jquery.lite.js
JQ_MIN = ${DIST_DIR}/jquery.min.js
JQ_VER = `cat version.txt`
@@echo ${JQ} "Built"
@@echo
-lite: ${JQ_LITE}
-
-${JQ_LITE}: ${JQ}
- @@echo "Building" ${JQ_LITE}
-
- @@cp ${JQ} ${JQ_LITE}
-
- @@echo ${JQ_LITE} "Built"
- @@echo
-
min: ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Removing Distribution directory:" ${DIST_DIR}
@@rm -rf ${DIST_DIR}
- @@echo "Removing Documentation directory:" ${DOCS_DIR}
- @@rm -rf ${DOCS_DIR}
-
@@echo "Removing Speed Test Suite directory:" ${SPEED_DIR}
@@rm -rf ${SPEED_DIR}
The standard, uncompressed, jQuery code.
Makes: ./dist/jquery.js
-make lite
- jQuery without all the additional inline documentation and test cases.
- Makes: ./dist/jquery.lite.js
-
make min
A compressed version of jQuery (made the YUI Minifier).
Makes: ./dist/jquery.min.js
Open this file in your browser:
./test/index.html
+make speed
+ Makes a performance analysis test suite.
+ Open this file in your browser:
+ ./speed/index.html
+
Finally, you can remove all the built files using the command:
make clean