Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created September 2, 2013 16:28
Show Gist options
  • Save metaskills/6414700 to your computer and use it in GitHub Desktop.
Save metaskills/6414700 to your computer and use it in GitHub Desktop.
Jekyll tasks/optipng example to compress assets.
#!/usr/bin/env bash
set -e
find assets resource -name "*.png" -exec optipng -o7 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment