Updating checkstyle plugin to show module name on failure
Change-Id: I8c3e015e1332f27315b47f60d84c151ad2e77faf
diff --git a/bucklets/onos.bucklet b/bucklets/onos.bucklet
index 7a2f1a9..9905f70 100644
--- a/bucklets/onos.bucklet
+++ b/bucklets/onos.bucklet
@@ -111,7 +111,7 @@
### Checkstyle
if srcs:
base = get_base_path()
- files = base + '\n' + '\n'.join(['%s/%s' % (base, s) for s in srcs])
+ files = '%s\n%s\n' % (name, base) + '\n'.join(['%s/%s' % (base, s) for s in srcs])
genrule(
name = name + '-checkstyle-files',