[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Pre-commit hook to ensure pngcrush has been used on every png

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Wed, 19 Aug 2009 04:27:06 -0500

I work on web sites, and I want to make sure that any png file I
commit takes as little disk space possible. When I think about it, I
run pngcrush on each png before committing, but I often forget. So
today I wrote a pre-commit hook to enforce that every png must be
crushed. Here it is, in case this is useful to others.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-08-19 11:28:11 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.