git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js,
[jquery.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
56b273d
..
c708db5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-7,7
+7,7
@@
BUILD_DIR = build
PREFIX = .
DIST_DIR = ${PREFIX}/dist
PREFIX = .
DIST_DIR = ${PREFIX}/dist
-JS_ENGINE ?= `which nodejs node`
+JS_ENGINE ?= `which node nodejs`
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
BASE_FILES = ${SRC_DIR}/core.js\
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
BASE_FILES = ${SRC_DIR}/core.js\
@@
-96,7
+96,10
@@
min: ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN}
${JQ_MIN}: ${JQ}
@@echo "Building" ${JQ_MIN}
- @@${COMPILER} ${JQ} > ${JQ_MIN}
+ @@${COMPILER} ${JQ} > ${JQ_MIN}.tmp
+ @@echo ";" >> ${JQ_MIN}.tmp
+ @@sed 's/\*\/(/*\/ʩ(/' ${JQ_MIN}.tmp | tr "ʩ" "\n" > ${JQ_MIN}
+ @@rm -rf ${JQ_MIN}.tmp
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}
clean:
@@echo "Removing Distribution directory:" ${DIST_DIR}