summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-04-19 12:08:41 -0400
committerDan Radez <dradez@redhat.com>2017-05-10 09:26:31 -0400
commit95ee731525170e8dd4df813d5ca7e43b0ba2f4eb (patch)
treeb059ff902ed333e12048449c5103d0cc9f0a57ea /build/Makefile
parentac3a86983e4c049a3115c7bd77eeacaeb19d0ca3 (diff)
Adding yamllint to build checks
- making formatting changes to yaml files to meet yamllint checks Change-Id: Id48a8446512943e908e61dc00bbe6c033af27775 Signed-off-by: Dan Radez <dradez@redhat.com>
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 #
##################