aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-06-30 00:21:30 +0000
committerJohn Resig <jeresig@gmail.com>2007-06-30 00:21:30 +0000
commit73ab36b8f8f14ed7872bf930a08d8eae68f30fda (patch)
treedc8fb7901f5d83ae0c8983a305970e3fb71f4d9d /Makefile
parente290083c35654f6ef300970d55d680d24c35782b (diff)
downloadjquery-73ab36b8f8f14ed7872bf930a08d8eae68f30fda.tar.gz
jquery-73ab36b8f8f14ed7872bf930a08d8eae68f30fda.zip
Added the Speed Test Suite. Can be made by doing 'make speed'.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4ec8ad628..52fbdb39f 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ PREFIX = .
DOCS_DIR = ${PREFIX}/docs
TEST_DIR = ${PREFIX}/test
DIST_DIR = ${PREFIX}/dist
+SPEED_DIR = ${PREFIX}/speed
PLUG_DIR = ../plugins
BASE_FILES = ${SRC_DIR}/jquery/jquery.js\
@@ -148,6 +149,21 @@ docs: ${JQ}
@@echo "Documentation Built"
@@echo
+speed: ${JQ}
+ @@echo "Building Speed Test Suite"
+
+ @@echo " - Making Speed Test Suite Directory:" ${SPEED_DIR}
+ @@mkdir -p ${SPEED_DIR}
+
+ @@echo " - Copying over script files."
+ @@cp -f ${BUILD_DIR}/speed/index.html ${SPEED_DIR}
+ @@cp -f ${BUILD_DIR}/speed/benchmarker.css ${SPEED_DIR}
+ @@cp -f ${BUILD_DIR}/speed/benchmarker.js ${SPEED_DIR}
+ @@cp -f ${BUILD_DIR}/speed/jquery-1.1.2.js ${SPEED_DIR}
+
+ @@echo "Speed Test Suite Built"
+ @@echo
+
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}
@@rm -rf ${DIST_DIR}
@@ -157,3 +173,6 @@ clean:
@@echo "Removing Documentation directory:" ${DOCS_DIR}
@@rm -rf ${DOCS_DIR}
+
+ @@echo "Removing Speed Test Suite directory:" ${SPEED_DIR}
+ @@rm -rf ${SPEED_DIR}