You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GOFILES=$(shell find . -type f -name '*.go' -not -path "./vendor/*")
.PHONY: all
all: deps fmt vet test
.PHONY: deps
deps:
glide install
go get github.com/mattn/goveralls
.PHONY: fmt
fmt:
@if [ -n "$$(gofmt -l ${GOFILES})" ]; then echo 'The following files have errors. Please run gofmt -l -w on your code.' && gofmt -l ${GOFILES} && exit 1; fi
.PHONY: test
test:
#go test -v -covermode=count -coverprofile=coverage.out -race ${GOPACKAGES}
go test -v -race -coverprofile=coverage.out ${GOPACKAGES}