|
|
@ -1,7 +1,7 @@ |
|
|
|
#GOPATH := $(CURDIR)/tmp/gopath
|
|
|
|
#GOPATH := $(CURDIR)/tmp/gopath
|
|
|
|
MAKE_OPTIONS := -s
|
|
|
|
MAKE_OPTIONS := -s
|
|
|
|
|
|
|
|
|
|
|
|
all: getdeps test install |
|
|
|
all: getdeps cover install |
|
|
|
|
|
|
|
|
|
|
|
getdeps: |
|
|
|
getdeps: |
|
|
|
@go get -u github.com/tools/godep && echo "Installing godep"
|
|
|
|
@go get -u github.com/tools/godep && echo "Installing godep"
|
|
|
@ -13,9 +13,9 @@ build-erasure: |
|
|
|
build-signify: |
|
|
|
build-signify: |
|
|
|
@cd pkgs/signify && ${MAKE} ${MAKE_OPTIONS}
|
|
|
|
@cd pkgs/signify && ${MAKE} ${MAKE_OPTIONS}
|
|
|
|
|
|
|
|
|
|
|
|
test: build-erasure build-signify |
|
|
|
cover: build-erasure build-signify |
|
|
|
godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/storage
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/storage
|
|
|
|
godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/gateway
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/gateway
|
|
|
|
|
|
|
|
|
|
|
|
install: build-erasure |
|
|
|
install: build-erasure |
|
|
|
@godep go install github.com/minio-io/minio/cmd/erasure-demo && echo "Installed erasure-demo into ${GOPATH}/bin"
|
|
|
|
@godep go install github.com/minio-io/minio/cmd/erasure-demo && echo "Installed erasure-demo into ${GOPATH}/bin"
|
|
|
@ -31,6 +31,3 @@ env: |
|
|
|
|
|
|
|
|
|
|
|
run: all |
|
|
|
run: all |
|
|
|
minio gateway
|
|
|
|
minio gateway
|
|
|
|
|
|
|
|
|
|
|
|
cover: test |
|
|
|
|
|
|
|
go tool cover -html=cover.out
|
|
|
|
|
|
|
|