Marvin Preuss
d095180eb4
All checks were successful
continuous-integration/drone/push Build is passing
20 lines
276 B
Makefile
20 lines
276 B
Makefile
.PHONY: all
|
|
all: test vet lint fmt
|
|
|
|
.PHONY: test
|
|
test:
|
|
@go test $$(go list ./... | grep -v examples) -cover
|
|
|
|
.PHONY: vet
|
|
vet:
|
|
@go vet -all $$(go list ./... | grep -v examples)
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
@golint -set_exit_status ./...
|
|
|
|
.PHONY: fmt
|
|
fmt:
|
|
@test -z $$(go fmt ./...)
|
|
|