Move go version check into main() (#3734)

Previously the check was done in init().  This patch moves into main
for unit testable friendly function.
This commit is contained in:
Bala FA
2017-02-11 14:57:27 +05:30
committed by Harshavardhana
parent 25b936c369
commit 440866d26c
6 changed files with 88 additions and 57 deletions

View File

@@ -107,6 +107,7 @@ spelling:
test: build
@echo "Running all minio testing:"
@go test $(GOFLAGS) .
@go test $(GOFLAGS) github.com/minio/minio/cmd...
@go test $(GOFLAGS) github.com/minio/minio/pkg...