From 3359572ab98baf9f408c7e86ad0d2df9a50594a4 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Mon, 28 Sep 2015 13:01:37 -0700 Subject: exit with non-zero exit code if validation fails --- bin/docs-validate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/docs-validate.py b/bin/docs-validate.py index c445c3f..f888c21 100644 --- a/bin/docs-validate.py +++ b/bin/docs-validate.py @@ -25,3 +25,4 @@ if __name__ == "__main__": print "OK" else: print "Validation failed! Please correct the errors above and try again." + sys.exit(1) -- cgit v0.12