1GOCMD = go
2GOBUILD = $(GOCMD) build
3GOGET = $(GOCMD) get -v
4GOCLEAN = $(GOCMD) clean
5GOINSTALL = $(GOCMD) install
6GOTEST = $(GOCMD) test
7
8.PHONY: all
9
10all: test
11
12test:
13	$(GOTEST) -v -covermode=count -coverprofile=coverage.out ./...
14
15build: test
16	$(GOBUILD)
17
18install: test
19	$(GOINSTALL)
20