aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRastislav Szabo <raszabo@cisco.com>2017-05-05 11:08:49 +0200
committerRastislav Szabo <raszabo@cisco.com>2017-05-05 11:08:49 +0200
commit51f628282c65f754152a346074f2ae286121138e (patch)
tree92b614ebf2bd06ff6b5371550499f21f02b8b0e6 /Makefile
parent9f470a613b8253eab686fcefef0909baf810503a (diff)
added lint make target
Change-Id: I994f45837f9e5ac6aba21ad42c6eff083e8aad23 Signed-off-by: Rastislav Szabo <raszabo@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 10e1b12..859ed1e 100644
--- 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