Thu, 27 May 2010 04:01:36 +0100
Update Makefile and squishy to build in gzip
Makefile | file | annotate | diff | comparison | revisions | |
squishy | file | annotate | diff | comparison | revisions |
--- a/Makefile Thu May 27 04:01:04 2010 +0100 +++ b/Makefile Thu May 27 04:01:36 2010 +0100 @@ -4,11 +4,12 @@ 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-debug # Build squish with minified debug + ./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 + rm squish squish.debug gunzip.lua
--- a/squishy Thu May 27 04:01:04 2010 +0100 +++ b/squishy Thu May 27 04:01:36 2010 +0100 @@ -37,6 +37,11 @@ Resource "vio" "vio/vio.lua" end +if GetOption "with-gzip" then + Resource "gunzip.lua" "gunzip.lua" + Main "gzip/squish.gzip.lua" +end + if GetOption "with-debug" then Resource "squish.debug" "squish.debug" end