diff options
author | John Resig <jeresig@gmail.com> | 2007-02-15 15:19:07 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-02-15 15:19:07 +0000 |
commit | 4434b5ae65bd3ecb9ea5b7e6a56d5b714748de90 (patch) | |
tree | f26abbe4498204ec9445c0aebdcfd55207f92c9c /Makefile | |
parent | 2712efd0fc89625da4d767f6073f575d040e30fd (diff) | |
download | jquery-4434b5ae65bd3ecb9ea5b7e6a56d5b714748de90.tar.gz jquery-4434b5ae65bd3ecb9ea5b7e6a56d5b714748de90.zip |
Added support for making a minified version of jQuery.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -10,8 +10,9 @@ PLUG_DIR = ../plugins BASE_FILES = ${SRC_DIR}/jquery/jquery.js\ ${SRC_DIR}/selector/selector.js\ ${SRC_DIR}/event/event.js\ - ${SRC_DIR}/fx/fx.js\ ${SRC_DIR}/ajax/ajax.js + #${SRC_DIR}/fx/fx.js\ + #${SRC_DIR}/ajax/ajax.js PLUGINS = ${PLUG_DIR}/button/*\ ${PLUG_DIR}/center/*\ @@ -38,6 +39,7 @@ MODULES_WITH_PLUGINS = ${SRC_DIR}/intro.js\ JQ = ${DIST_DIR}/jquery.js JQ_LITE = ${DIST_DIR}/jquery.lite.js +JQ_MIN = ${DIST_DIR}/jquery.min.js JQ_PACK = ${DIST_DIR}/jquery.pack.js JQ_VER = `cat version.txt` @@ -93,6 +95,17 @@ ${JQ_PACK}: ${JQ} @@echo ${JQ_PACK} "Built" @@echo +min: ${JQ_MIN} + +${JQ_MIN}: ${JQ} + @@echo "Building" ${JQ_MIN} + + @@echo " - Compressing using Minifier" + @@${JAR} ${BUILD_DIR}/build/min.js ${JQ} ${JQ_MIN} + + @@echo ${JQ_MIN} "Built" + @@echo + test: ${JQ} @@echo "Building Test Suite" |