]> source.dussan.org Git - jquery.git/commitdiff
Moved the copyright to the intro file, added a ! so that it passes through YUIMin...
authorJohn Resig <jeresig@gmail.com>
Sun, 4 Jan 2009 23:34:18 +0000 (23:34 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 4 Jan 2009 23:34:18 +0000 (23:34 +0000)
Makefile
src/core.js
src/intro.js

index 2d344c6a58375a790bdce1bc9a12b3fb3c0f3882..beb4686869a32996c7e63bb0d18e5bf1209206ef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,9 @@ VER = sed s/@VERSION/${JQ_VER}/
 JAR = java -jar ${BUILD_DIR}/js.jar
 MINJAR = java -jar ${BUILD_DIR}/yuicompressor-2.4.2.jar
 
+DATE=`svn info . | grep Date: | sed 's/.*: //g'`
+REV=`svn info . | grep Rev: | sed 's/.*: //g'`
+
 all: jquery lite min pack speed
        @@echo "jQuery build complete."
 
@@ -62,9 +65,13 @@ jquery: ${DIST_DIR} ${JQ}
 
 ${JQ}: ${MODULES}
        @@echo "Building" ${JQ}
+       echo "${DATE}"
 
        @@mkdir -p ${DIST_DIR}
-       @@cat ${MODULES} | ${VER} > ${JQ};
+       @@cat ${MODULES} | \
+               sed 's/Date:./&'"${DATE}"'/' | \
+               sed 's/Revision:./&'"${REV}"'/' | \
+               ${VER} > ${JQ};
 
        @@echo ${JQ} "Built"
        @@echo
index 9347689a3e922fe34b51e919a861f7234be85a58..4eab2cde416caf3d29427528b094db8fd2892bfc 100644 (file)
@@ -1,14 +1,3 @@
-/*
- * jQuery @VERSION - New Wave Javascript
- *
- * Copyright (c) 2008 John Resig (jquery.com)
- * Dual licensed under the MIT (MIT-LICENSE.txt)
- * and GPL (GPL-LICENSE.txt) licenses.
- *
- * $Date$
- * $Rev$
- */
-
 var 
        // Will speed up references to window, and allows munging its name.
        window = this,
index af50383ec5bc83ff4a9ae4f468b311846160eb21..f286767b538436dadf484a12f9c2ee9e2b01505a 100644 (file)
@@ -1 +1,12 @@
+/*!
+ * jQuery JavaScript Library v@VERSION
+ * http://jquery.com/
+ *
+ * Copyright (c) 2009 John Resig
+ * Dual licensed under the MIT and GPL licenses.
+ * http://docs.jquery.com/License
+ *
+ * Date: 
+ * Revision: 
+ */
 (function(){