mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Fix build for travis
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,5 +1,3 @@
|
||||
MINIOPATH=$(GOPATH)/src/github.com/minio-io/minio
|
||||
|
||||
all: getdeps install
|
||||
|
||||
checkdeps:
|
||||
@@ -7,8 +5,8 @@ checkdeps:
|
||||
@(env bash $(PWD)/buildscripts/checkdeps.sh)
|
||||
|
||||
checkgopath:
|
||||
@echo "Checking if project is at ${MINIOPATH}"
|
||||
@if [ ! -d ${MINIOPATH} ]; then echo "Project not found in $GOPATH, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi
|
||||
@echo "Checking if project is at ${GOPATH}"
|
||||
@for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio-io/minio ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done
|
||||
|
||||
getdeps: checkdeps checkgopath
|
||||
@go get github.com/minio-io/godep && echo "Installed godep:"
|
||||
|
||||
Reference in New Issue
Block a user