added compat.js and tree.js to build, it now builds in dist/

This commit is contained in:
cloudhead 2010-03-29 22:24:09 -04:00
parent 30bf1ff7f3
commit 38fe88abef

View File

@ -20,16 +20,17 @@ HEADER = build/header.js
VERSION = `cat VERSION` VERSION = `cat VERSION`
less: less:
@@mkdir -p build @@mkdir -p dist
@@cat lib/ext/*.js\ @@cat build/compat.js\
${SRC}/parser.js\ ${SRC}/parser.js\
${SRC}/functions.js\ ${SRC}/functions.js\
${SRC}/tree/*.js\ ${SRC}/tree/*.js\
${SRC}/tree.js\
${SRC}/browser.js > ${DIST} ${SRC}/browser.js > ${DIST}
@@echo ${DIST} built. @@echo ${DIST} built.
min: less min: less
@@echo Minifying... @@echo minifying...
@@cat ${HEADER} | sed s/@VERSION/${VERSION}/ > ${DIST_MIN} @@cat ${HEADER} | sed s/@VERSION/${VERSION}/ > ${DIST_MIN}
@@java -jar build/compiler.jar\ @@java -jar build/compiler.jar\
--js ${DIST} >> ${DIST_MIN} --js ${DIST} >> ${DIST_MIN}