21 lines
452 B
Makefile
21 lines
452 B
Makefile
all: getdeps install
|
|
|
|
checkdeps:
|
|
@./checkdeps.sh
|
|
|
|
getdeps: checkdeps
|
|
@go get github.com/tools/godep && echo "Installed godep"
|
|
@go get golang.org/x/tools/cmd/cover && echo "Installed cover"
|
|
|
|
build-all: getdeps
|
|
@echo "Building Libraries"
|
|
@godep go generate ./...
|
|
@godep go build ./...
|
|
|
|
test-all: build-all
|
|
@echo "Running Test Suites:"
|
|
@godep go test -race ./...
|
|
|
|
install: test-all
|
|
@godep go install github.com/minio-io/mc && echo "Installed mc"
|