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
|
|
|
|
2015-04-14 13:26:31 +09:00
|
|
|
find . -name '*.yaml' -o -name '*.yml' -print0 |
|
2014-10-14 12:17:47 -04:00
|
|
|
xargs -0 python tools/validate-yaml.py || exit 1
|