Skip to content

Commit

Permalink
separate out static checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs committed Jul 3, 2019
1 parent 0022a08 commit 549138a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,16 @@ check-setup:

check: check-setup lint tidy check-static

check-static:
check-fmt:
@ # Not running vet and fmt through metalinter becauase it ends up looking at vendor
@echo "gofmt checking"
gofmt -s -l -w $(FILES) 2>&1| $(FAIL_ON_STDOUT)

check-vet:
@echo "go vet check"
@GO111MODULE=on go vet -all $$($(PACKAGE_LIST)) 2>&1

check-static: check-fmt check-vet check-spell
@echo "mispell and ineffassign checking"
CGO_ENABLED=0 retool do gometalinter.v2 --disable-all \
--enable misspell \
Expand Down

0 comments on commit 549138a

Please sign in to comment.