From f665a30d2898fce209834494ca02e8ad98bdfcdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 16 Dec 2014 10:45:16 +0100 Subject: [PATCH] Added lint step to Makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index e020fba76f3..6919817f54e 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,13 @@ all: build build: go build -o bin/grafana . +lint: + @gofmt -w . && go tool vet pkg/**/*.go && echo "$(GOLINT)" + setup: go get github.com/tools/godep + go install github.com/mattn/go-sqlite3 + +