5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-25 11:01:35 +00:00
matterbridge/vendor/github.com/matterbridge/logrus-prefixed-formatter/Makefile

20 lines
440 B
Makefile

NAME=logrus-prefixed-formatter
PACKAGES=$(shell go list ./...)
deps:
@echo "--> Installing dependencies"
@go get -d -v -t ./...
test-deps:
@which ginkgo 2>/dev/null ; if [ $$? -eq 1 ]; then \
go get -u -v github.com/onsi/ginkgo/ginkgo; \
fi
test: test-deps
@echo "--> Running tests"
@ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race
format:
@echo "--> Running go fmt"
@go fmt $(PACKAGES)