From 2cd78f431080fff90898189211dbd739b286868d Mon Sep 17 00:00:00 2001 From: "Stephen McQuay (smcquay)" Date: Thu, 8 Mar 2018 16:30:54 -0800 Subject: [PATCH] Adds linting --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 2f9e12a..26696e8 100644 --- a/Makefile +++ b/Makefile @@ -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/...)