From 98c51d241bac8d0ebcb38e142afdc97513beb452 Mon Sep 17 00:00:00 2001 From: Krasi Georgiev Date: Thu, 19 Apr 2018 15:17:12 +0300 Subject: [PATCH] run the style target to fail if the code is not properly formated Signed-off-by: Krasi Georgiev --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 58789ad782..eee61d5d2d 100644 --- a/Makefile.common +++ b/Makefile.common @@ -37,7 +37,7 @@ PREFIX ?= $(shell pwd) BIN_DIR ?= $(shell pwd) DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD)) -all: format staticcheck unused build test +all: style staticcheck unused build test style: @echo ">> checking code style"