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

View File

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