minio/Makefile
2014-11-24 15:10:25 -08:00

32 lines
524 B
Makefile

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