2014-11-03 23:59:07 -05:00
|
|
|
#GOPATH := $(CURDIR)/tmp/gopath
|
2014-11-01 18:20:59 -04:00
|
|
|
|
2014-11-03 23:59:07 -05:00
|
|
|
all: test install
|
2014-11-01 20:04:24 -04:00
|
|
|
|
2014-11-03 23:59:07 -05:00
|
|
|
test:
|
2014-11-07 01:45:27 -05:00
|
|
|
mkdir -p cover
|
2014-11-08 01:23:52 -05:00
|
|
|
godep go test -race -coverprofile=cover/cover.out github.com/minio-io/minio
|
|
|
|
godep go test -race github.com/minio-io/minio/minio
|
2014-11-01 20:04:24 -04:00
|
|
|
|
2014-11-03 23:59:07 -05:00
|
|
|
install:
|
2014-11-08 01:23:52 -05:00
|
|
|
godep go install -race github.com/minio-io/minio/minio
|
2014-11-01 20:04:24 -04:00
|
|
|
|
2014-11-03 23:59:07 -05:00
|
|
|
save:
|
|
|
|
godep save ./...
|
2014-11-01 20:04:24 -04:00
|
|
|
|
2014-11-03 23:59:07 -05:00
|
|
|
restore:
|
|
|
|
godep restore
|
2014-11-01 04:02:47 -04:00
|
|
|
|
2014-11-03 23:59:07 -05:00
|
|
|
env:
|
|
|
|
godep go env
|
2014-11-07 01:45:27 -05:00
|
|
|
|
|
|
|
run: all
|
|
|
|
minio gateway
|
|
|
|
|
|
|
|
cover: test
|
|
|
|
go tool cover -html=cover/cover.out
|