mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 20:06:12 +02: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…
x
Reference in New Issue
Block a user