2014-10-14 12:17:47 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-01-15 10:09:30 +09:00
|
|
|
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
|
|
|
cd "$(dirname "$REAL_PATH")/.."
|
2014-10-14 12:17:47 -04:00
|
|
|
|
2015-01-15 10:09:30 +09:00
|
|
|
find . -name '*.json' -print0 |
|
2014-10-14 12:17:47 -04:00
|
|
|
xargs -0 python tools/validate-json.py || exit 1
|
|
|
|
|