@for miniopath in $(echo${GOPATH}| sed 's/:/\n/g');doif[ ! -d ${miniopath}/src/github.com/minio/minio ];thenecho"Project not found in ${miniopath}, please follow instructions provided at https://github.com/minio/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository"&&exit 1;fidone
@echo "Setting BUILD_LDFLAGS: ${BUILD_LDFLAGS}"
checkdocker:
@echo "Checking if docker is installed.. "
@if [ -z ${DOCKER_BIN}];thenecho"Docker not installed, cannot build docker image. Please install 'sudo apt-get install docker.io'"&&exit 1;elseecho"Docker installed at ${DOCKER_BIN}.";fi;
getdeps:checkdepscheckgopath
@go get -u github.com/golang/lint/golint &&echo"Installed golint:"
@go get -u golang.org/x/tools/cmd/vet &&echo"Installed vet:"