Browse Source

run the style target to fail if the code is not properly formated

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
pull/4102/head
Krasi Georgiev 7 years ago
parent
commit
98c51d241b
  1. 2
      Makefile.common

2
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"

Loading…
Cancel
Save