Browse Source

go vet is a test step

Jakob Borg 11 years ago
parent
commit
8de2a7f4c8
1 changed files with 1 additions and 3 deletions
  1. 1 3
      build.sh

+ 1 - 3
build.sh

@@ -21,9 +21,6 @@ check() {
 
 build() {
 	check
-
-	go vet ./...
-
 	godep go build $* -ldflags "$ldflags" ./cmd/syncthing
 }
 
@@ -49,6 +46,7 @@ test-cov() {
 
 test() {
 	check
+	go vet ./...
 	godep go test -cpu=1,2,4 ./...
 }