From: Brian Matherly Date: Fri, 10 Feb 2012 03:07:45 +0000 (-0600) Subject: Exit make with error if any yml validation fails. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=f73f172041c3bdeaf478f5447624bbc938b1e2f4;p=mlt Exit make with error if any yml validation fails. --- diff --git a/Makefile b/Makefile index a2025c5e..c78b8254 100644 --- a/Makefile +++ b/Makefile @@ -55,5 +55,5 @@ dist: validate-yml: for file in `find ./ -type f -name \*.yml`; do \ echo "validate: $$file"; \ - kwalify -f src/framework/metaschema.yaml $$file; \ + kwalify -f src/framework/metaschema.yaml $$file || exit 1; \ done