minio/Makefile

28 lines
355 B
Makefile

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