Removed the revision info and fixed the date pull to work against git log instead of SVN.

This commit is contained in:
John Resig 2009-10-23 03:25:40 -04:00
parent c7006d2fa5
commit bcbd06b66f
2 changed files with 1 additions and 4 deletions

View file

@ -31,8 +31,7 @@ VER = sed s/@VERSION/${JQ_VER}/
MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar
DATE=`svn info . | grep Date: | sed 's/.*: //g'` DATE=`git log -1 | grep Date: | sed 's/.*: *//g'`
REV=`svn info . | grep Rev: | sed 's/.*: //g'`
all: jquery test min all: jquery test min
@@echo "jQuery build complete." @@echo "jQuery build complete."
@ -48,7 +47,6 @@ ${JQ}: ${MODULES}
@@mkdir -p ${DIST_DIR} @@mkdir -p ${DIST_DIR}
@@cat ${MODULES} | \ @@cat ${MODULES} | \
sed 's/Date:./&'"${DATE}"'/' | \ sed 's/Date:./&'"${DATE}"'/' | \
sed 's/Revision:./&'"${REV}"'/' | \
${VER} > ${JQ}; ${VER} > ${JQ};
@@echo ${JQ} "Built" @@echo ${JQ} "Built"

View file

@ -7,7 +7,6 @@
* http://docs.jquery.com/License * http://docs.jquery.com/License
* *
* Date: * Date:
* Revision:
*/ */
(function(window, undefined){ (function(window, undefined){