minio/Makefile
Matthew Farrellee 5047c055f6 stop requiring a cover directory
it is not automatically created. instead, store coverage output in the
current directory.
2014-11-22 21:13:56 -05:00

28 lines
343 B
Makefile

#GOPATH := $(CURDIR)/tmp/gopath
all: test install
build-erasure:
cd erasure && make
test: build-erasure
godep go test -race -coverprofile=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.out