summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-17 15:58:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-17 15:58:59 +0000
commitb411839804e6fca023ef7a695bbb616ea80fd6f3 (patch)
tree4ff5708b37e36dfef879b762e91b9b9fae8e772b /build/Makefile
parent2f1a9dc491f55b5890a030a8ee36faa15de57b9e (diff)
parent95ee731525170e8dd4df813d5ca7e43b0ba2f4eb (diff)
Merge "Adding yamllint to build checks"
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 2df41424..1d329fb5 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -117,6 +117,15 @@ python-pep8-check:
pep8 ../lib/python
pep8 ../tests
+#############
+# YAMLLINT #
+#############
+
+.PHONY: yamllint
+yamllint:
+ @echo "Running yamllint against all .yaml files"
+ cd ../ && yamllint $(shell cd ../ && git ls-tree -r HEAD --name-only | grep 'yaml$$')
+
##################
# NETWORKING-VPP #
##################