Merge "Fix validate-all-yaml.sh to check for files with yml extension"
This commit is contained in:
commit
a85917313e
@ -3,6 +3,6 @@
|
|||||||
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
|
||||||
cd "$(dirname "$REAL_PATH")/.."
|
cd "$(dirname "$REAL_PATH")/.."
|
||||||
|
|
||||||
find . -name '*.yaml' -print0 |
|
find . -name '*.yaml' -o -name '*.yml' -print0 |
|
||||||
xargs -0 python tools/validate-yaml.py || exit 1
|
xargs -0 python tools/validate-yaml.py || exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user