From 26e19b8a3208f8c17caacd340245ea7f54620c01 Mon Sep 17 00:00:00 2001 From: Auke Willem Oosterhoff Date: Fri, 25 Aug 2017 11:53:02 +0200 Subject: [PATCH] Print commands when running 'make lint' Issues: #19 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 926caf6..8d61d7a 100644 --- a/Makefile +++ b/Makefile @@ -4,11 +4,11 @@ help: ## Print help text. @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' lint: ## Check code using various linters and static checkers. - @gofmt -d . - @go vet -v . || exit 1 - @golint -set_exit_status . || exit 1 - @errcheck -ignoretests || exit 1 - @misspell -locale uk . + gofmt -d . + go vet -v . || exit 1 + golint -set_exit_status . || exit 1 + errcheck -ignoretests || exit 1 + misspell -locale uk . install: ## Install or update development dependencies. @go get -u github.com/stretchr/testify/assert