Adds linting

This commit is contained in:
Stephen McQuay 2018-03-08 16:30:54 -08:00
parent 751a96b142
commit 2cd78f4310
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5
1 changed files with 5 additions and 0 deletions

View File

@ -33,3 +33,8 @@ bin:
.PHONY: clean
clean:
@rm -fv bin/{hw,hwl,hwc}
.PHONY: lint
lint:
@golint $(shell go list mcquay.me/hw/...)
@go vet $(shell go list mcquay.me/hw/...)