From 95ee731525170e8dd4df813d5ca7e43b0ba2f4eb Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Wed, 19 Apr 2017 12:08:41 -0400 Subject: Adding yamllint to build checks - making formatting changes to yaml files to meet yamllint checks Change-Id: Id48a8446512943e908e61dc00bbe6c033af27775 Signed-off-by: Dan Radez --- build/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build/Makefile') 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 # ################## -- cgit 1.2.3-korg