run the style target to fail if the code is not properly formated
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
This commit is contained in:
parent
0b0c9f4b6b
commit
98c51d241b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue