Parcourir la source

Added lint step to Makefile

Torkel Ödegaard il y a 11 ans
Parent
commit
f665a30d28
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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
+
+