github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

shift / git_png_optimise

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A Rails plugin / Git hook that optimises PNGs upon adding or updating. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added progress output to the pre-commit hook. 
shift (author)
Wed Oct 01 03:15:03 -0700 2008
commit  313e3dffde0661c62f4de19d44da43bc9ff70c26
tree    40484eb8dc5b6d427de5cbd0848b74d785814308
parent  e58a2eca0f20391d1e04c1a21a71217a002c507c
git_png_optimise /
name age
history
message
file MIT-LICENSE Loading commit data...
file README
file Rakefile
directory bin/
directory examples/
file init.rb
file install.rb
directory lib/
directory tasks/
directory test/
file uninstall.rb
README
GitPngOptimise
==============

This plugin is for optimising PNG's upon commit into a git repository, it backs up your current pre-commit hook if there 
is one and replaces it, your git pre-commit hook located in .git/hooks/pre-commit.

The plugin supports OptiPNG (packaged with the plugin, for OS X) and PNGOUT available from 
http://advsys.net/ken/utils.htm

Installation
============

open .git/hooks/pre-commit and change OptiPNG flags as required.

Howto install PNGOUT
====================

Drop the binary file into the plugins bin directory named 'pngout' and 'chmod +x pngout'


Usage
=====

git add public/images/header.png
git commit -m "Look ma no hands."

Copyright (c) 2008 Vincent Palmer & Piers Cawley, released under the MIT license
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server