10 lines
162 B
Bash
Executable File
10 lines
162 B
Bash
Executable File
#!/bin/sh
|
|
|
|
TOPLEVEL=$(git rev-parse --show-toplevel)
|
|
cd $TOPLEVEL
|
|
|
|
git ls-files |
|
|
grep '\.yaml' |
|
|
xargs python ${TOPLEVEL}/tools/validate-yaml.py -v || exit 1
|
|
|