2015-04-27 11:59:55 +08:00
|
|
|
#!/bin/bash
|
2014-10-14 12:17:47 -04:00
|
|
|
|
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
|
|
|
|
2016-03-02 19:38:41 +00:00
|
|
|
find . -path ./.tox -prune -name '*.json' -print0 |
|
2014-10-14 12:17:47 -04:00
|
|
|
xargs -0 python tools/validate-json.py || exit 1
|