thebeansgroup/smush.py — pull request #1 by beatak (2012-02-03 19:31:33+00:00)
Title: pngnq fixes and --exclude feature

pngnq has updated and the patch was failed, so i fixed that.

I run this on Mac OS X 10.7 (Lion), and Lion's default libpng doesn't contain zlib header, so i added that too.

I also added "--exclude" option for smush.py, which is the main thing for this pull request. As default, smush.py ignores '.bzr', '.git', '.hg', '.svn' directory, and you can add your own directories or files that you want to ignore.