Mercurial > hg > truffle
changeset 13845:12e1c788c1d5
mx checkstyle: bail out if .checkstyle is missing
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Fri, 31 Jan 2014 14:54:34 +0200 |
parents | 6bc07d0c2682 |
children | 1e72cd05b77e |
files | mxtool/mx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Fri Jan 31 11:39:40 2014 +0100 +++ b/mxtool/mx.py Fri Jan 31 14:54:34 2014 +0200 @@ -2494,7 +2494,7 @@ dotCheckstyle = join(p.dir, '.checkstyle') if not exists(dotCheckstyle): - continue + abort('ERROR: .checkstyle for Project {0} is missing'.format(p.name)) # skip checking this Java project if its Java compliance level is "higher" than the configured JDK if java().javaCompliance < p.javaCompliance: