added lint make target 05/6605/1
authorRastislav Szabo <raszabo@cisco.com>
Fri, 5 May 2017 09:08:49 +0000 (11:08 +0200)
committerRastislav Szabo <raszabo@cisco.com>
Fri, 5 May 2017 09:08:49 +0000 (11:08 +0200)
Change-Id: I994f45837f9e5ac6aba21ad42c6eff083e8aad23
Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
Makefile

index 10e1b12..859ed1e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,4 +16,7 @@ generate:
        @cd core && go generate ./...
        @cd examples && go generate ./...
 
+lint:
+       @golint ./... | grep -v vendor | grep -v bin_api
+
 .PHONY: build test install clean generate