mirror of https://github.com/minio/minio.git
Merge pull request #185 from harshavardhana/pr_out_remove_go_cover
This commit is contained in:
commit
eab19e3ce4
1
Makefile
1
Makefile
|
@ -12,7 +12,6 @@ checkgopath:
|
||||||
|
|
||||||
getdeps: checkdeps checkgopath
|
getdeps: checkdeps checkgopath
|
||||||
@go get github.com/tools/godep && echo "Installed godep"
|
@go get github.com/tools/godep && echo "Installed godep"
|
||||||
@go get golang.org/x/tools/cmd/cover && echo "Installed gocover"
|
|
||||||
|
|
||||||
build-all: getdeps
|
build-all: getdeps
|
||||||
@echo "Building Libraries"
|
@echo "Building Libraries"
|
||||||
|
|
|
@ -176,8 +176,9 @@ install_minio_deps() {
|
||||||
msg "Installing minio deps.."
|
msg "Installing minio deps.."
|
||||||
env go get github.com/tools/godep && echo "Installed godep" || \
|
env go get github.com/tools/godep && echo "Installed godep" || \
|
||||||
die "Cannot install godep. Abort installation."
|
die "Cannot install godep. Abort installation."
|
||||||
env go get golang.org/x/tools/cmd/cover && echo "Installed cover" || \
|
# not needed anymore, keeping it here for future
|
||||||
die "Cannot install cover. Abort installation."
|
# env go get golang.org/x/tools/cmd/cover && echo "Installed cover" || \
|
||||||
|
# die "Cannot install cover. Abort installation."
|
||||||
}
|
}
|
||||||
|
|
||||||
install_minio() {
|
install_minio() {
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
all: build test
|
|
||||||
.PHONY: all
|
|
||||||
|
|
||||||
build:
|
|
||||||
@godep go build
|
|
||||||
|
|
||||||
test: build
|
|
||||||
@godep go test -race -coverprofile=cover.out
|
|
||||||
|
|
||||||
clean:
|
|
||||||
@rm -v cover.out
|
|
Loading…
Reference in New Issue