Makefile

Sun, 10 Oct 2010 01:34:27 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 10 Oct 2010 01:34:27 +0100
changeset 75
6028ae579fde
parent 60
e80882a6af57
child 97
808fd9673669
permissions
-rw-r--r--

squish.gzip.lua: Escape \026 in gzipped output to prevent Windows from interpreting it as EOF (thanks to Vadim Peretokin for his persistence!)


OPTIONS=-q --with-minify --with-uglify --with-compile --with-virtual-io

squish: squish.lua squishy
	./squish.lua $(OPTIONS) # Bootstrap squish
	chmod +x squish
	./squish -q gzip # Minify gunzip code
	./squish -q debug # Minify debug code
	./squish $(OPTIONS) --with-gzip --with-debug # Build squish with minified gzip/debug
	
install: squish
	install squish /usr/local/bin/squish

clean:
	rm squish squish.debug gunzip.lua

mercurial