mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
27 lines
423 B
Makefile
27 lines
423 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/cmd/minio
|
|
|
|
install:
|
|
godep go install -race github.com/minio-io/minio/cmd/minio
|
|
|
|
save:
|
|
godep save ./...
|
|
|
|
restore:
|
|
godep restore
|
|
|
|
env:
|
|
godep go env
|
|
|
|
run: all
|
|
minio gateway
|
|
|
|
cover: test
|
|
go tool cover -html=cover/cover.out
|