Skip to content

Instantly share code, notes, and snippets.

@jk
Created June 28, 2012 09:27
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jk/3010169 to your computer and use it in GitHub Desktop.
Save jk/3010169 to your computer and use it in GitHub Desktop.
Generate PassKit manifest.json
echo "{"`find . -type f -exec shasum {} + | sed 's/\.\///g' | awk '{print "\t\"" $2 "\" : \"" $1 "\","}' | grep -v -E "(\.DS_Store|manifest\.json)"`"}" | sed 's/\,}/}/g' | python -mjson.tool > manifest.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment