aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-01-04 15:29:27 +0000
committerJohn Resig <jeresig@gmail.com>2009-01-04 15:29:27 +0000
commit434b87b8a233eb24ec773de801f3adb460fbd0f4 (patch)
tree5abe141c6b257f669015f04f9551d184f546b090 /Makefile
parentc0294278db40da764a98ea1c1506548e539213c7 (diff)
downloadjquery-434b87b8a233eb24ec773de801f3adb460fbd0f4.tar.gz
jquery-434b87b8a233eb24ec773de801f3adb460fbd0f4.zip
Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36bd11cff..2d344c6a5 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,7 @@ JQ_VER = `cat version.txt`
VER = sed s/@VERSION/${JQ_VER}/
JAR = java -jar ${BUILD_DIR}/js.jar
+MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar
all: jquery lite min pack speed
@@echo "jQuery build complete."
@@ -104,7 +105,7 @@ ${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN}
@@echo " - Compressing using Minifier"
- @@${JAR} ${BUILD_DIR}/build/min.js ${JQ} ${JQ_MIN}
+ @@${MINJAR} ${JQ} > ${JQ_MIN}
@@echo ${JQ_MIN} "Built"
@@echo