Created
June 28, 2012 09:27
-
-
Save jk/3010169 to your computer and use it in GitHub Desktop.
Generate PassKit manifest.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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