mirror of https://github.com/minio/minio.git
Merge pull request #64 from harshavardhana/pr_out_cleanup_makefile
Cleanup makefile
This commit is contained in:
commit
653ad20c67
11
Makefile
11
Makefile
|
@ -1,7 +1,7 @@
|
|||
#GOPATH := $(CURDIR)/tmp/gopath
|
||||
MAKE_OPTIONS := -s
|
||||
|
||||
all: getdeps test install
|
||||
all: getdeps cover install
|
||||
|
||||
getdeps:
|
||||
@go get -u github.com/tools/godep && echo "Installing godep"
|
||||
|
@ -13,9 +13,9 @@ build-erasure:
|
|||
build-signify:
|
||||
@cd pkgs/signify && ${MAKE} ${MAKE_OPTIONS}
|
||||
|
||||
test: build-erasure build-signify
|
||||
godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/storage
|
||||
godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/gateway
|
||||
cover: build-erasure build-signify
|
||||
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/storage
|
||||
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkgs/gateway
|
||||
|
||||
install: build-erasure
|
||||
@godep go install github.com/minio-io/minio/cmd/erasure-demo && echo "Installed erasure-demo into ${GOPATH}/bin"
|
||||
|
@ -31,6 +31,3 @@ env:
|
|||
|
||||
run: all
|
||||
minio gateway
|
||||
|
||||
cover: test
|
||||
go tool cover -html=cover.out
|
||||
|
|
|
@ -4,8 +4,8 @@ all: build test
|
|||
test:
|
||||
@godep go test
|
||||
|
||||
isal/isal-l.so:
|
||||
isal/isal-l.a:
|
||||
@$(MAKE) --quiet -C isal lib
|
||||
|
||||
build: isal/isal-l.so
|
||||
build: isal/isal-l.a
|
||||
@godep go build
|
||||
|
|
Loading…
Reference in New Issue