Commit bcbd06b6 authored by John Resig's avatar John Resig

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

parent c7006d2f
...@@ -31,8 +31,7 @@ VER = sed s/@VERSION/${JQ_VER}/ ...@@ -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} ...@@ -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"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
* http://docs.jquery.com/License * http://docs.jquery.com/License
* *
* Date: * Date:
* Revision:
*/ */
(function(window, undefined){ (function(window, undefined){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment