Explorar o código

Added lint step to Makefile

Torkel Ödegaard %!s(int64=11) %!d(string=hai) anos
pai
achega
f665a30d28
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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
+
+