]> git.sesse.net Git - mlt/commitdiff
Exit make with error if any yml validation fails.
authorBrian Matherly <pez4brian@yahoo.com>
Fri, 10 Feb 2012 03:07:45 +0000 (21:07 -0600)
committerDan Dennedy <dan@dennedy.org>
Fri, 10 Feb 2012 04:28:09 +0000 (20:28 -0800)
Makefile

index a2025c5ef8de0a27b2c19c8c664d716f62880721..c78b82543742ce2712fd6cdc5226f4b4d3eb5dd5 100644 (file)
--- 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