Merge pull request #4102 from krasi-georgiev/makefile

run the style target to fail if the code is not properly formatted
This commit is contained in:
Ben Kochie 2018-04-20 17:30:42 +02:00 committed by GitHub
commit 76f6fe8f86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ PREFIX ?= $(shell pwd)
BIN_DIR ?= $(shell pwd) BIN_DIR ?= $(shell pwd)
DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD)) DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD))
all: format staticcheck unused build test all: style staticcheck unused build test
style: style:
@echo ">> checking code style" @echo ">> checking code style"