Skip to content

Commit

Permalink
Fix build for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Apr 12, 2015
1 parent 0128481 commit 97d1f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
MINIOPATH=$(GOPATH)/src/github.com/minio-io/minio

all: getdeps install

checkdeps:
@echo "Checking deps:"
@(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:"
Expand Down
4 changes: 0 additions & 4 deletions buildscripts/checkdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,6 @@ check_deps() {
MISSING="${MISSING} yasm(1.2.0)"
fi

env mkdocs help >/dev/null 2>&1
if [ $? -ne 0 ]; then
MISSING="${MISSING} mkdocs"
fi
}

main() {
Expand Down

0 comments on commit 97d1f03

Please sign in to comment.