Skip to content

Commit

Permalink
Print commands when running 'make lint'
Browse files Browse the repository at this point in the history
Issues: #19
  • Loading branch information
OrangeTux committed Aug 25, 2017
1 parent f3631c1 commit 26e19b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26e19b8

Please sign in to comment.