Debian Codegraph @

Makefile

raw
1 NAME=logrus-prefixed-formatter
2 PACKAGES=$(shell go list ./...)
3
4 deps:
5 @echo "--> Installing dependencies"
6 @go get -d -v -t ./...
7
8 test-deps:
9 @which ginkgo 2>/dev/null ; if [ $$? -eq 1 ]; then \
10 go get -u -v github.com/onsi/ginkgo/ginkgo; \
11 fi
12
13 test: test-deps
14 @echo "--> Running tests"
15 @ginkgo -r --randomizeAllSpecs --randomizeSuites --failOnPending --cover --trace --race
16
17 format:
18 @echo "--> Running go fmt"
19 @go fmt $(PACKAGES)