aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2010-04-08 09:06:46 +0800
committerJohn Resig <jeresig@gmail.com>2010-07-21 22:47:13 +0800
commit4ec1b743a81256ae15907e46260cfc8edc6f06b8 (patch)
treef3f7940935a9f74ac91386c498e7cca1c94e4ad6 /Makefile
parent2e10af143b7eafb7142524f6534a62aee1910bd1 (diff)
downloadjquery-4ec1b743a81256ae15907e46260cfc8edc6f06b8.tar.gz
jquery-4ec1b743a81256ae15907e46260cfc8edc6f06b8.zip
Simplified getting the commit date using git log --pretty. Fixed missing date in ant build.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 612fce1c3..ade631968 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ VER = sed s/@VERSION/${JQ_VER}/
RHINO = java -jar ${BUILD_DIR}/js.jar
MINJAR = java -jar ${BUILD_DIR}/google-compiler-20091218.jar
-DATE=`git log -1 | grep Date: | sed 's/[^:]*: *//'`
+DATE=`git log -1 --pretty=format:%ad`
all: jquery lint min
@@echo "jQuery build complete."