15 lines
164 B
Makefile
15 lines
164 B
Makefile
.PHONY: test
|
|
|
|
default: test
|
|
|
|
test:
|
|
@go test -v ./...
|
|
|
|
fmt:
|
|
goimports -l -w .
|
|
golangci-lint run --fix
|
|
|
|
lint:
|
|
golangci-lint run
|
|
sh -c 'test -z "$$(gofmt -l .)"'
|