mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
5047c055f6
it is not automatically created. instead, store coverage output in the current directory.
28 lines
343 B
Makefile
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
|