mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 05:04:05 -08:00
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 a new issue