Skip to content

Instantly share code, notes, and snippets.

@cyborch
Created September 30, 2010 17:45
Show Gist options
  • Select an option

  • Save cyborch/604991 to your computer and use it in GitHub Desktop.

Select an option

Save cyborch/604991 to your computer and use it in GitHub Desktop.
cd Resources
find . -iname '*.png' | grep -v '@x2' | sed 's/.png/@x2.png/g' | xargs ls > /dev/null
@cyborch

cyborch commented Sep 30, 2010

Copy link
Copy Markdown
Author

Ever wanted to ensure that you have remembered to create high resolution versions of all your graphics for you iPhone app?

Create a script target and put this snippet in the script. It will emit one error per missing *@x2.png resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment