## simple makefile to log workflow
.PHONY: all test clean build install
GOFLAGS ?= $(GOFLAGS:)
all: install test
build:
@go build $(GOFLAGS) ./...
install:
@go get $(GOFLAGS) ./...
test: install
@go vet $(GOFLAGS) ./...
@go test -cover $(GOFLAGS) ./...
bench: install
@go test -run=NONE -bench=. $(GOFLAGS) ./...
clean:
@go clean $(GOFLAGS) -i ./...
## EOF