2015-04-27 03:59:55 +00:00
|
|
|
#!/bin/bash
|
2014-10-14 16:17:47 +00:00
|
|
|
|
2015-01-15 01:09:30 +00:00
|
|
|
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
|
|
|
cd "$(dirname "$REAL_PATH")/.."
|
2014-10-14 16:17:47 +00:00
|
|
|
|
2015-04-14 04:26:31 +00:00
|
|
|
find . -name '*.yaml' -o -name '*.yml' -print0 |
|
2014-10-14 16:17:47 +00:00
|
|
|
xargs -0 python tools/validate-yaml.py || exit 1
|
|
|
|
|