Merge pull request #4102 from krasi-georgiev/makefile

run the style target to fail if the code is not properly formatted
pull/4105/head
Ben Kochie 7 years ago committed by GitHub
commit 76f6fe8f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save