Selaa lähdekoodia

Added lint step to Makefile

Torkel Ödegaard 11 vuotta sitten
vanhempi
commit
f665a30d28
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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
+
+