Skip to content

Commit

Permalink
*: added_goword_for_spelling_checking (pingcap#3116)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhexuany authored and coocood committed Apr 22, 2017
1 parent ef7bdb0 commit e4608cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ check:
@echo "gofmt (simplify)"
@ gofmt -s -l -w $(FILES) 2>&1 | grep -v "parser/parser.go" | awk '{print} END{if(NR>0) {exit 1}}'

goword:
go get github.com/chzchzchz/goword
@echo "goword"
@ goword $(FILES) | awk '{print} END{if(NR>0) {exit 1}}'

errcheck:
go get github.com/kisielk/errcheck
errcheck -blank $(PACKAGES)
Expand Down

0 comments on commit e4608cb

Please sign in to comment.