Created
March 28, 2014 15:14
-
-
Save btisdall/9835121 to your computer and use it in GitHub Desktop.
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
for i in $(git ls-files '*.json'); do echo -n "Checking $i..."; if ruby -rjson -e 'JSON.parse(ARGF.read)' $i; then echo "OK"; else echo "$i failed validation"; break; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment