Skip to content

Commit

Permalink
Merge pull request #6 from jhump/jh/simplify-makefile
Browse files Browse the repository at this point in the history
simplify staticcheck incantation
  • Loading branch information
jhump authored Mar 22, 2019
2 parents fb39315 + 3133bbd commit 17282ff
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ vet:

.PHONY: staticcheck
staticcheck:
@if [ -n "$$(go version | awk '{ print $$3 }' | grep -v devel)" ]; then \
go get honnef.co/go/tools/cmd/staticcheck; \
echo staticcheck ./...; \
staticcheck ./...; \
fi
@go get honnef.co/go/tools/cmd/staticcheck
staticcheck ./...

.PHONY: ineffassign
ineffassign:
Expand Down

0 comments on commit 17282ff

Please sign in to comment.