summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/vpp/checkstyle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/scripts/vpp/checkstyle.sh')
-rw-r--r--jjb/scripts/vpp/checkstyle.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/jjb/scripts/vpp/checkstyle.sh b/jjb/scripts/vpp/checkstyle.sh
new file mode 100644
index 000000000..7c520dd99
--- /dev/null
+++ b/jjb/scripts/vpp/checkstyle.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# jjb/vpp/include-raw-vpp-checkstyle.sh
+
+if [ -n "$(grep -E '^checkstyle:' Makefile)" ]
+then
+ make checkstyle
+else
+ echo "Can't find checkstyle target in Makefile - skipping checkstyle"
+fi