Browse Source

Added lint step to Makefile

Torkel Ödegaard 11 years ago
parent
commit
f665a30d28
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Makefile

+ 6 - 0
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
+
+