minio/Makefile

27 lines
415 B
Makefile

#GOPATH := $(CURDIR)/tmp/gopath
all: test install
test:
mkdir -p cover
godep go test -race -coverprofile=cover/cover.out github.com/minio-io/minio
godep go test -race github.com/minio-io/minio/minio
install:
godep go install -race github.com/minio-io/minio/minio
save:
godep save ./...
restore:
godep restore
env:
godep go env
run: all
minio gateway
cover: test
go tool cover -html=cover/cover.out